/* --- Global Reset & Fonts --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    min-height: 100vh;
    display: flex; 
    justify-content: center;
    align-items: center;
    color: #333;
    background: url(./GC\ background.png) no-repeat center center fixed;
    background-size: cover;
}


.container {
    width: 100%;
    max-width: 500px; 
    padding: 20px;
}

.card {
    background-color: #f4f6f9;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}


.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    color: #1a4971;
}

.card-header h2 {
    font-size: 1.5rem;
    line-height: 1.3;
}

.lock-icon {
    font-size: 1.5rem;
    color: #1a4971;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #4a5568;
}

input, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 1rem;
    background-color: #fff;
    transition: border-color 0.3s;
}

input:focus, select:focus {
    outline: none;
    border-color: #1a4971;
    box-shadow: 0 0 0 3px rgba(26, 73, 113, 0.1);
}


.input-wrapper {
    position: relative;
}

.visibility-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #718096;
    cursor: pointer;
}


.tooltip-icon {
    position: relative;
    display: inline-block;
    cursor: help;
    margin-left: 5px;
    color: #4a5568;
}

.tooltip-icon .tooltip-text {
    visibility: hidden;
    width: 220px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-weight: normal;
    font-size: 0.8rem;
}

.tooltip-icon:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* --- Links and Footer --- */
.policy-link {
    font-size: 0.85rem;
    margin-bottom: 20px;
    color: #718096;
}

.policy-link a, .card-footer a {
    color: #1a4971;
    text-decoration: none;
    font-weight: 600;
}

.policy-link a:hover, .card-footer a:hover {
    text-decoration: underline;
}

/* --- Buttons --- */
.button-group {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

button {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: #1a4971;
    color: #fff;
    flex: 2; 
}

.btn-primary:hover {
    background-color: #123554;
}

.btn-secondary {
    background-color: #a0aec0;
    color: #fff;
    flex: 1;
}

.btn-secondary:hover {
    background-color: #718096;
}

/* --- Security Footer text --- */
.card-footer {
    font-size: 0.75rem;
    color: #718096;
    line-height: 1.5;
    border-top: 1px solid #e2e8f0;
    padding-top: 15px;
}
/* --- Tablet/iPad Responsiveness (Screens 768px and below) --- */
@media (max-width: 768px) {
    
    .card-header h2 {
        font-size: 1.35rem;
    }
}

/* --- Mobile Responsiveness (Screens 480px and below) --- */
@media (max-width: 480px) {
    .card {
        padding: 20px 15px; 
    }
    .card-header h2 {
        font-size: 1.25rem;
    }
    .button-group {
        flex-direction: column;
        gap: 10px;
    }
    .btn-primary, 
    .btn-secondary {
        width: 100%;
    }
}