/* Google Drive Upload Component Styles */

.gkss-drive-uploader {
    border: 2px dashed #b5b5b5;
    border-radius: 6px;
    background-color: #f9f9f9;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    margin-bottom: 10px;
}

.gkss-drive-uploader:hover,
.gkss-drive-uploader.is-dragover {
    border-color: #0073aa;
    background-color: #eef7fb;
}

.gkss-drive-icon {
    font-size: 48px;
    color: #0073aa;
    margin-bottom: 10px;
    display: inline-block;
}

/* Use SVG or FontAwesome if available, otherwise just text/shape */
.gkss-drive-icon svg {
    width: 48px;
    height: 48px;
    fill: currentColor;
}

.gkss-drive-text {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.gkss-drive-text strong {
    color: #333;
}

.gkss-upload-button {
    display: inline-block;
    padding: 8px 20px;
    background-color: #fff;
    border: 1px solid #0073aa;
    color: #0073aa;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.2s;
}

.gkss-upload-button:hover {
    background-color: #0073aa;
    color: #fff;
}

.gkss-upload-button.disabled {
    opacity: 0.6;
    pointer-events: none;
}

/* File List & Progress */
.gkss-file-list {
    margin-top: 20px;
    text-align: left;
}

.gkss-file-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
}

.gkss-file-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.gkss-file-name {
    font-weight: bold;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;
}

.gkss-file-status {
    font-size: 12px;
    color: #666;
}

.gkss-progress-bar-container {
    height: 6px;
    background-color: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    width: 100%;
}

.gkss-progress-bar {
    height: 100%;
    background-color: #0073aa;
    width: 0%;
    transition: width 0.2s ease;
    /* Reset potential conflicts */
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.gkss-progress-bar.gkss-success {
    background-color: #46b450 !important;
}

.gkss-progress-bar.error {
    background-color: #dc3232 !important;
}

.gkss-file-remove {
    color: #a00;
    cursor: pointer;
    font-size: 18px;
    display: none;
    line-height: 1;
}

.gkss-file-item.completed .gkss-file-remove,
.gkss-file-item.error .gkss-file-remove {
    display: block;
}

/* Multiline Text Helper for Confirmation Screen */
.gkss-multiline-text {
    white-space: pre-wrap;
    display: inline-block;
}

/* Validation Errors */
.gkss-error-message {
    color: #dc3232;
    font-size: 12px;
    margin-top: 5px;
    text-align: left;
}