/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Navigation Bar */
nav {
    width: 100%;
    background-color: #2c3e50;
    color: white;
    padding: 15px 20px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    border-radius: 0 0 10px 10px;
}

nav h1 i {
    margin-right: 10px;
    color: #3498db;
}

/* Buttons Container */
.buttons-container {
    margin: 10px 0 30px;
    display: flex;
    gap: 15px;
}

.buttons-container button {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    background-color: #ecf0f1;
    color: #2c3e50;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.buttons-container button i {
    margin-right: 8px;
}

.buttons-container button:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #3498db;
    transition: width 0.3s ease;
    z-index: -1;
}

.buttons-container button:hover {
    color: white;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.buttons-container button:hover:before {
    width: 100%;
}

/* Main Section */
.main-section {
    width: 100%;
    max-width: 450px;
    background-color: white;
    padding: 35px 40px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.main-section h2 {
    margin-bottom: 25px;
    text-align: center;
    color: #2c3e50;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.main-section h2:after {
    content: "";
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #3498db;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.main-section h3 {
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 500;
}

.main-section form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Input Group Styling */
.input-group {
    position: relative;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #95a5a6;
    font-size: 16px;
    transition: color 0.3s;
}

.input-group input {
    padding: 14px 16px 14px 45px;
    width: 100%;
    font-size: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #f8f9fa;
}

.input-group input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    outline: none;
}

.input-group input:focus + i {
    color: #3498db;
}

.input-group input::placeholder {
    color: #95a5a6;
}

.main-section button {
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    background-color: #3498db;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-section button i {
    margin-right: 8px;
}

.main-section button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.main-section button:active {
    transform: translateY(0);
}

.startup-options {
    display: flex;
    justify-content: space-around;
    margin: 10px 0 30px;
}

.startup-options button {
    flex: 1;
    margin: 0 10px;
}

/* Forgot Password Link */
.forgot-password {
    text-align: center;
    margin-top: 15px;
}

.forgot-password a {
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
}

.forgot-password a i {
    margin-right: 5px;
}

.forgot-password a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Registration form specific styles */
#driveLinkLabel {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: -15px;
    cursor: help;
    display: flex;
    align-items: center;
}

#driveLinkLabel i {
    margin-right: 5px;
    color: #3498db;
}

/* Footer Styling */
.footer {
    margin-top: 30px;
    text-align: center;
    color: #7f8c8d;
    font-size: 14px;
}

/* Responsive design */
@media (max-width: 768px) {
    .main-section {
        padding: 25px 20px;
    }
    
    .buttons-container {
        flex-direction: column;
        width: 100%;
        max-width: 450px;
    }
    
    .buttons-container button {
        width: 100%;
    }
}
