/* Global Reset */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

/* Base Styles */
html, body { 
    height: 100%; 
    font-family: 'Roboto', sans-serif; 
}

/* Layout Wrapper */
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Heading */
h2 {
    font-size: 48px;
    margin-bottom: 50px;
    color: #003e3e;
    font-weight: bold;
    font-family: 'Alegreya', 'Roboto', sans-serif;
    text-align: center;
}

/* Main Section */
.main-content {
    flex-grow: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #e6f4f1, #b5d8d1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Role Selection Container */
.role-selection {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

/* Buttons */
button {
    background-color: #015c5d;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    width: 200px;
    margin-top: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #A62B1F;
}

/* Dashboard Buttons */
.dashboard-btn {
    background-color: #015c5d;
    transition: background-color 0.3s ease;
}

.dashboard-btn:hover {
    background-color: #003e3e;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
}

/* Responsive Design */
@media (max-width: 768px) {
    h2 {
        font-size: 36px;
        margin-bottom: 30px;
    }
    
    .main-content {
        padding: 20px;
    }
    
    button {
        width: 180px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 28px;
    }
    
    .role-selection {
        gap: 15px;
    }
    
    button {
        width: 160px;
        padding: 8px 16px;
    }
}