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

body { 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f5f5f5;
    padding: 20px;
}

.container { 
    max-width: 800px; 
    margin: 0 auto;
}

.logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

.logos img {
    height: 70px;
    width: auto;
}

.header {
    background: #1e4d2b;
    color: white;
    padding: 30px;
    border-radius: 8px 8px 0 0;
}

.form-section {
    padding: 30px;
    background: white;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group input:focus {
    outline: none;
    border-color: #1e4d2b;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.verification-section {
    display: none;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.code-inputs {
    display: block !important;
    gap: 10px;
    justify-content: center;
    text-align: center;
    margin: 20px auto;
}

.code-box {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    border: 2px solid #ddd;
    border-radius: 8px;
    text-transform: uppercase;
}

.code-box:focus {
    outline: none;
    border-color: #1976d2;
}

.chat-section {
    display: none;
    background: white;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.chat-container {
    height: 450px;
    overflow-y: auto;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.message {
    margin-bottom: 15px;
    padding: 12px 16px;
    border-radius: 8px;
    max-width: 80%;
    width: fit-content;
}

.bot { 
    background: #f0f0f0; 
    margin-right: auto;
}

.user { 
    background: #1e4d2b; 
    color: white; 
    margin-left: auto;
}

.typing {
    background: #f0f0f0;
    padding: 12px 16px;
    border-radius: 8px;
    max-width: 70px;
    margin-bottom: 15px;
}

.typing span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #999;
    margin: 0 2px;
    animation: typing 1.4s infinite;
}

.typing span:nth-child(2) { 
    animation-delay: 0.2s; 
}

.typing span:nth-child(3) { 
    animation-delay: 0.4s; 
}

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-10px); }
}

.input-container {
    padding: 20px;
    display: flex;
    gap: 10px;
}

input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

button {
    padding: 12px 24px;
    background: #1e4d2b;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover { 
    background: #2d6b3f; 
}

button:disabled { 
    background: #ccc; 
    cursor: not-allowed; 
}

.success {
    background: #d4edda;
    color: #155724;
    padding: 20px;
    margin: 20px;
    border-radius: 4px;
    text-align: center;
}
