body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: #0f172a;
    /* Slate 900 */
    color: #e2e8f0;
    /* Slate 200 */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* --- HEADER --- */
.page-header {
    background-color: #1e293b;
    /* Slate 800 */
    padding: 15px 0;
    border-bottom: 1px solid #334155;
    margin-bottom: 30px;
}

.page-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
}

.logo span {
    color: #6366f1;
    /* Indigo 500 */
}

.btn-back {
    background-color: #334155;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back i {
    margin-right: 8px;
}

.btn-back:hover {
    background-color: #6366f1;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

/* --- PROFILE GRID --- */
.profile-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
    align-items: flex-start;
}

/* --- MAIN PROFILE CARD (LEFT) --- */
.profile-card-main {
    background-color: #1e293b;
    border-radius: 16px;
    border: 1px solid #334155;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.profile-banner img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.profile-avatar-details {
    text-align: center;
    margin-top: -60px;
    /* Pull up avatar */
    position: relative;
    padding-bottom: 20px;
    border-bottom: 1px solid #334155;
}

.profile-avatar-details img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid #1e293b;
    margin: 0 auto 10px;
    object-fit: cover;
}

.profile-avatar-details h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.profile-avatar-details p {
    margin: 4px 0 0;
    color: #94a3b8;
}

.profile-completion {
    padding: 20px;
    text-align: center;
}

.profile-completion h4 {
    margin: 0 0 12px;
    font-weight: 600;
    color: #cbd5e1;
}

.progress-bar {
    background-color: #334155;
    border-radius: 50px;
    height: 20px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
}

.complete-profile-link {
    color: #818cf8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.complete-profile-link:hover {
    text-decoration: underline;
}

/* --- INFO CARDS (RIGHT) --- */
.info-cards-container {
    display: grid;
    gap: 30px;
}

.info-card {
    background-color: #1e293b;
    border-radius: 16px;
    border: 1px solid #334155;
    padding: 25px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #334155;
    padding-bottom: 15px;
}

.card-icon {
    font-size: 1.5rem;
    color: #818cf8;
}

.card-header h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.card-body p {
    margin: 0 0 10px;
    line-height: 1.6;
    color: #cbd5e1;
}

.card-body p strong {
    color: #f1f5f9;
    font-weight: 600;
}

.event-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.event-list li a {
    display: block;
    padding: 12px 0;
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #334155;
    transition: color 0.3s ease;
}

.event-list li:last-child a {
    border-bottom: none;
}

.event-list li a:hover {
    color: #818cf8;
}

.event-list li a span {
    float: right;
    color: #94a3b8;
    font-size: 0.9rem;
}