/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #333;
}

.login-container {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    width: 100%;
    max-width: 520px;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.fdic-header {
    background-color: #f8f8f8;
    padding: 10px 20px 40px 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
}

.fdic-text {
    font-size: 12px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fdic-logo {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

.intrust-logo {
    position: absolute;
    top: 35px;
    right: 20px;
    max-height: 40px;
}

.login-form {
    padding: 20px 30px 30px;
}

.login-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #666;
    font-size: 14px;
}

.required {
    color: red;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
}

.login-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
}

.login-button {
    background-color: #4a75a3;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
}

.forgot-password {
    color: #4a75a3;
    text-decoration: none;
    font-size: 14px;
}

/* Verification container styles */
.verification-container {
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 400px;
    margin: 30px auto;
    color: #333;
    text-align: center;
}

#swipe-container {
    width: 100%;
    height: 60px;
    background-color: #f0f0f0;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    user-select: none;
    touch-action: none;
    margin: 30px 0;
}

#swipe-button {
    width: 60px;
    height: 60px;
    background-color: #4a75a3;
    border-radius: 50%;
    position: absolute;
    left: 0;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.section-title {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 24px;
    color: #333;
}

/* Success page styles */
.success-container {
    background-color: white;
    border-radius: 4px;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 50px;
    color: #333;
    text-align: center;
}

.success-icon {
    font-size: 48px;
    color: #4a75a3;
    margin-bottom: 20px;
}

.success-message {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #4a75a3;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(74, 117, 163, 0.3);
    border-radius: 50%;
    border-top: 4px solid #4a75a3;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.redirect-message {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

/* Error message styles */
.error-message {
    display: flex;
    align-items: center;
    background-color: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    gap: 10px;
}
