/**
 * Artist Dashboard Styles
 * Professional and modern design
 */

/* Reset and Base Styles */
.lad-dashboard-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #0a48b3 0%, #2d6ddf 100%);
    min-height: 100vh;
    padding: 40px 20px;
}

.lad-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Header */
.lad-header {
    text-align: center;
    margin-bottom: 40px;
    color: #fff;
}

.lad-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.lad-welcome {
    font-size: 18px;
    opacity: 0.95;
    margin: 0;
}

/* Upload Card */
.lad-upload-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    padding: 40px;
    margin-bottom: 30px;
}

.lad-card-header {
    margin-bottom: 35px;
    text-align: center;
}

.lad-card-header h2 {
    font-size: 28px;
    color: #1a202c;
    margin: 0 0 8px 0;
}

.lad-card-header p {
    color: #718096;
    font-size: 16px;
    margin: 0;
}

/* Form Groups */
.lad-form-group {
    margin-bottom: 30px;
}

.lad-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.required {
    color: #e53e3e;
}

.optional {
    color: #718096;
    font-weight: 400;
    font-size: 13px;
}

/* Artist Category Badge - NEW */
.lad-artist-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e6f2ff 0%, #f0f7ff 100%);
    border: 2px solid #667eea;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #2d3748;
}

.lad-check-icon {
    width: 24px;
    height: 24px;
    color: #667eea;
    flex-shrink: 0;
}

.lad-auto-selected {
    font-size: 13px;
    font-weight: 400;
    color: #667eea;
    margin-left: 4px;
}

/* Dropzone */
.lad-dropzone {
    position: relative;
    border: 2px dashed #cbd5e0;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #f7fafc;
}

.lad-dropzone:hover {
    border-color: #667eea;
    background: #edf2f7;
}

.lad-dropzone.drag-over {
    border-color: #667eea;
    background: #e6f2ff;
    transform: scale(1.02);
}

#lad-image-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.lad-dropzone-content {
    pointer-events: none;
}

.lad-upload-icon {
    width: 60px;
    height: 60px;
    color: #667eea;
    margin: 0 auto 15px;
}

.lad-dropzone-title {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 5px 0;
}

.lad-dropzone-subtitle {
    font-size: 14px;
    color: #718096;
    margin: 0;
}

/* Preview */
.lad-preview {
    position: relative;
}

.lad-preview img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.lad-remove-image {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e53e3e;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(229, 62, 62, 0.4);
}

.lad-remove-image:hover {
    background: #c53030;
    transform: scale(1.1);
}

.lad-remove-image svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

/* Input Fields */
.lad-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.lad-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.lad-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.lad-input-prefix {
    position: absolute;
    left: 18px;              /* consistent margin */
    top: 50%;                /* vertical centering */
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: 600;
    color: #718096;          /* softer gray tone */
    pointer-events: none;    /* so click goes to input */
}

.lad-input-with-prefix {
    padding-left: 30px !important; /* enough space after $ */
    letter-spacing: 0.5px;
}


/* Select */
.lad-select-wrapper {
    position: relative;
}

.lad-select {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    transition: all 0.2s ease;
    min-height: 120px;
    box-sizing: border-box;
}

.lad-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.lad-select option {
    padding: 8px;
}

/* Selected Items */
.lad-selected-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.lad-selected-item {
    display: inline-flex;
    align-items: center;
    background: #edf2f7;
    color: #2d3748;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Help Text */
.lad-help-text {
    font-size: 13px;
    color: #718096;
    margin: 6px 0 0 0;
    line-height: 1.5;
}

/* Buttons */
.lad-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.lad-btn-primary {
    background: linear-gradient(135deg, #0a48b3 0%, #2d6ddf 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(10, 72, 179, 0.4);
}

.lad-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 72, 179, 0.5);
}

.lad-btn-primary:active {
    transform: translateY(0);
}

.lad-btn-primary:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.lad-btn-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.lad-form-actions {
    margin-top: 40px;
    text-align: center;
}

/* Progress Bar */
.lad-progress-wrapper {
    margin-top: 25px;
}

.lad-progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.lad-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0e4cb8 0%, #2868d9 100%);
    border-radius: 10px;
    transition: width 0.3s ease;
    width: 0%;
}

.lad-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0e4cb8 0%, #2868d9 100%);
    border-radius: 10px;
    transition: width 0.3s ease;
    width: 0%;
    box-shadow: 0 0 10px rgba(14, 76, 184, 0.5);  /* Add glow effect */
}

.lad-progress-text {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    color: #718096;
    font-weight: 500;
}

/* Messages */
.lad-message {
    padding: 16px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 20px;
    animation: slideDown 0.3s ease;
}

.lad-message.success {
    background: #c6f6d5;
    color: #22543d;
    border-left: 4px solid #38a169;
}

.lad-message.error {
    background: #fed7d7;
    color: #742a2a;
    border-left: 4px solid #e53e3e;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .lad-dashboard-wrapper {
        padding: 20px 15px;
    }
    
    .lad-header h1 {
        font-size: 32px;
    }
    
    .lad-upload-card {
        padding: 25px 20px;
    }
    
    .lad-card-header h2 {
        font-size: 24px;
    }
    
    .lad-dropzone {
        padding: 30px 15px;
    }
    
    .lad-upload-icon {
        width: 48px;
        height: 48px;
    }
}

/* Loading Spinner */
.lad-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Artist Category Badge */
.lad-artist-category-badge {
    background: #edf2f7;
    border: 2px solid #cbd5e0;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lad-artist-category-badge span:first-child {
    font-size: 15px;
    font-weight: 600;
    color: #2d3748;
}

.lad-auto-selected {
    font-size: 13px;
    color: #667eea;
    font-weight: 500;
    background: #e6f2ff;
    padding: 4px 12px;
    border-radius: 12px;
}