/* Artist Register Page Styles */

.artist-register-page {
    background: #FFFFFF;
    min-height: 100vh;
    padding-bottom: 60px;
}

/* Header */
.register-header {
    background: linear-gradient(135deg, #E91E84 0%, #9D4EDD 50%, #6366F1 100%);
    padding: 30px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

/* Header Left - Logo */
.header-left {
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s, opacity 0.3s;
}

.logo-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.logo-img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3));
}

/* Header Center - Title */
.header-center {
    flex-grow: 1;
    text-align: center;
}

.header-title {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-title i {
    font-size: 24px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.header-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-weight: 500;
}

/* Header Right - Back Button */
.header-right {
    flex-shrink: 0;
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateX(-5px);
}

.btn-back i {
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .header-center {
        order: -1;
    }
    
    .header-title {
        font-size: 22px;
    }
    
    .header-subtitle {
        font-size: 13px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .btn-back span {
        display: none;
    }
}

/* Main Content */
.register-main {
    padding: 60px 20px;
}

.register-form {
    max-width: 900px;
    margin: 0 auto;
}

/* Form Section */
.form-section {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.form-section:hover {
    border-color: #9D4EDD;
    box-shadow: 0 4px 20px rgba(157, 78, 221, 0.1);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(157, 78, 221, 0.3);
}

.section-header i {
    font-size: 28px;
    color: #9d4edd;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0;
}

.section-description {
    font-size: 14px;
    color: #6B7280;
    margin-top: 10px;
    margin-left: 43px;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #6B7280;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group input,
.form-group select {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    color: #1A1A1A;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s;
    font-family: 'Noto Sans KR', sans-serif;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #9D4EDD;
    box-shadow: 0 0 0 3px rgba(157, 78, 221, 0.1);
}

.form-group input::placeholder {
    color: #9CA3AF;
}

/* Tags Selection */
.tags-selection {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.tag-chip {
    background: #FFFFFF;
    border: 2px solid #E5E7EB;
    color: #1A1A1A;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    user-select: none;
}

.tag-chip:hover {
    border-color: #9D4EDD;
    background: rgba(157, 78, 221, 0.05);
    transform: translateY(-2px);
}

.tag-chip.selected {
    background: linear-gradient(135deg, #E91E84, #9D4EDD);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.3);
}

.selection-count {
    font-size: 14px;
    color: #6B7280;
    text-align: center;
    margin-top: 10px;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.skill-checkbox {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.skill-checkbox:hover {
    border-color: #9D4EDD;
    background: rgba(157, 78, 221, 0.05);
}

.skill-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #9D4EDD;
}

.skill-checkbox span {
    font-size: 15px;
    font-weight: 500;
    color: #1A1A1A;
    display: flex;
    align-items: center;
    gap: 8px;
}

.skill-checkbox input:checked + span {
    color: #9D4EDD;
}

/* Image Upload */
.image-upload-container {
    text-align: center;
}

.btn-upload {
    background: #FFFFFF;
    border: 2px dashed #E5E7EB;
    color: #6B7280;
    padding: 30px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    justify-content: center;
}

.btn-upload:hover {
    background: rgba(157, 78, 221, 0.05);
    border-color: #9D4EDD;
    color: #9D4EDD;
    transform: translateY(-2px);
}

.btn-upload i {
    font-size: 24px;
}

.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.image-preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview-item .remove-image {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.image-preview-item .remove-image:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.image-preview-item .main-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: linear-gradient(135deg, #E91E84, #9D4EDD);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.btn-primary,
.btn-secondary {
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, #E91E84, #9D4EDD);
    color: white;
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(157, 78, 221, 0.4);
}

.btn-secondary {
    background: #FFFFFF;
    border: 2px solid #E5E7EB;
    color: #6B7280;
}

.btn-secondary:hover {
    border-color: #9D4EDD;
    color: #9D4EDD;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #FFFFFF;
    color: #1A1A1A;
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
    z-index: 9999;
    max-width: 400px;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.success {
    border-color: #10b981;
}

.toast.error {
    border-color: #ef4444;
}

.toast.warning {
    border-color: #f59e0b;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(157, 78, 221, 0.2);
    border-top-color: #9d4edd;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-overlay p {
    color: white;
    font-size: 16px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .register-header h1 {
        font-size: 24px;
    }
    
    .form-section {
        padding: 25px;
    }
    
    .section-header h2 {
        font-size: 20px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}
