/* Modern UI for Artist Portal */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #a5b4fc;
    --secondary: #0ea5e9;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --gray-dark: #334155;
    --body-bg: #f1f5f9;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --header-height: 70px;
}

/* Base Styles */
body {
    background-color: var(--body-bg);
    color: var(--dark);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-height);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-content {
    flex: 1 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

.btn {
    border-radius: 0.5rem;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-success {
    background-color: var(--success);
    border-color: var(--success);
}

/* Navbar */
.navbar {
    background-color: white;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    padding: 0.5rem 1rem;
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.navbar-scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}

.navbar-dark .navbar-brand {
    color: var(--primary-light);
}

.nav-link {
    font-weight: 500;
    color: var(--gray-dark);
    padding: 0.5rem 1rem;
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--primary);
    border-radius: 2px;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-radius: 0.5rem;
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: 0.3rem;
    padding: 0.6rem 1rem;
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

/* Hero Section */
.jumbotron {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
    padding: 5rem 0;
    margin-bottom: 3rem;
    color: white;
    border-radius: 0;
}

.jumbotron h1 {
    color: white;
    font-weight: 700;
}

/* Cards */
.card {
    border: none;
    border-radius: 1rem;
    box-shadow: var(--card-shadow);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.card-header {
    background-color: white;
    border-bottom: 1px solid var(--gray-light);
    padding: 1.25rem 1.5rem;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

/* Dashboard cards */
.dashboard-card {
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 1.5rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: none;
    height: 100%;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.dashboard-card-hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.dashboard-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    color: var(--primary);
    background-color: var(--primary-light);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.dashboard-card .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Feature Icons */
.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Stats cards */
.stats-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    background-color: white;
    box-shadow: var(--card-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stats-card i {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.stats-value {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.stats-label {
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Empty States */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.empty-state i {
    margin-bottom: 1rem;
}

/* Auth Forms */
.auth-form {
    max-width: 450px;
    margin: 3rem auto;
    padding: 2.5rem;
    background-color: white;
    border-radius: 1rem;
    box-shadow: var(--card-shadow);
}

.auth-form h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark);
    font-weight: 600;
}

.form-control {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-light);
}

.form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

/* Table Styles */
.table {
    margin-bottom: 0;
}

.table thead th {
    background-color: var(--light);
    border-bottom: none;
    color: var(--gray);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 1rem;
}

.table tbody td {
    padding: 1rem;
    border-top: 1px solid var(--gray-light);
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background-color: rgba(99, 102, 241, 0.05);
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
    border-radius: 0.5rem;
}

/* Status Badges */
.badge-pending {
    background-color: var(--warning);
    color: white;
}

.badge-approved {
    background-color: var(--success);
    color: white;
}

.badge-rejected {
    background-color: var(--danger);
    color: white;
}

/* Footer */
footer {
    background-color: white;
    border-top: 1px solid var(--gray-light);
    padding: 2rem 0;
    margin-top: 4rem;
}

footer a {
    color: var(--gray);
    margin-left: 1rem;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--primary);
}

/* List Group */
.list-group-item {
    padding: 1rem 1.25rem;
    border-color: var(--gray-light);
}

.list-group-item.active {
    background-color: var(--primary);
    border-color: var(--primary);
}

.list-group-item-action:hover {
    background-color: rgba(99, 102, 241, 0.05);
}

/* Animation Utilities */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.text-primary {
    color: var(--primary) !important;
}

.text-success {
    color: var(--success) !important;
}

.text-warning {
    color: var(--warning) !important;
}

.text-danger {
    color: var(--danger) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-success {
    background-color: var(--success) !important;
}

.bg-warning {
    background-color: var(--warning) !important;
}

.bg-danger {
    background-color: var(--danger) !important;
}

.rounded-full {
    border-radius: 9999px !important;
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.shadow {
    box-shadow: var(--card-shadow) !important;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .jumbotron {
        padding: 4rem 0;
    }
    
    .jumbotron h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .stats-card {
        padding: 1.25rem;
    }
    
    .stats-value {
        font-size: 1.75rem;
    }
    
    .table thead th {
        font-size: 0.7rem;
    }
    
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    body {
        padding-top: 60px;
    }
    
    .navbar {
        height: 60px;
    }
    
    .jumbotron {
        padding: 3rem 0;
    }
    
    .jumbotron h1 {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .btn {
        padding: 0.4rem 1.2rem;
    }
}

/* Login and Registration forms */
.auth-form {
    max-width: 450px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.auth-form h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #343a40;
}

/* Profile */
.profile-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Releases and tracks */
.release-card {
    margin-bottom: 20px;
}

.release-cover {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
}

.track-list {
    list-style: none;
    padding: 0;
}

.track-item {
    padding: 10px 15px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.track-item:last-child {
    border-bottom: none;
}

.track-number {
    color: #6c757d;
    font-weight: bold;
    margin-right: 10px;
}

/* Admin dashboard */
.admin-card {
    border-left: 5px solid #007bff;
}

.pending-card {
    border-left: 5px solid #ffc107;
}

.approved-card {
    border-left: 5px solid #28a745;
}

.rejected-card {
    border-left: 5px solid #dc3545;
} 