:root {
    --primary-color: #2c3e50; /* Dark blue/gray */
    --accent-color: #c0392b; /* Strong red */
    --background-color: #ecf0f1; /* Light gray */
    --card-bg-color: #ffffff;
    --text-color: #34495e; /* Darker gray */
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.profile-container {
    max-width: 900px;
    width: 100%;
    background-color: var(--card-bg-color);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.profile-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 3rem;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-item .label {
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.info-item .value {
    font-size: 1.1rem;
    font-weight: 400;
}

.full-width {
    grid-column: 1 / -1;
}

/* Supervisor Button Styling */
.supervisor-button {
    background: none;
    border: none;
    color: var(--accent-color);
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.supervisor-button:hover,
.supervisor-button:focus {
    color: #a62a1c; /* A darker red on hover/focus */
    outline: none;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
    .profile-info-grid {
        grid-template-columns: 1fr;
    }
    .profile-container {
        padding: 2rem;
    }
    .profile-title {
        font-size: 2rem;
    }
}