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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #c13635 0%, #3879D6 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 500px;
}

.form-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 20px;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    width: 300px;
    height: 173px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0px;
}

.logo-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    margin: 0;
}

.header h1 {
    color: #2d3748;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.subtitle {
    color: #718096;
    font-size: 14px;
    font-weight: 400;
}

.form {
    margin-bottom: 30px;
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4a5568;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group label i {
    color: #667eea;
    width: 16px;
}

.form-group input {
    width: 100%;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f7fafc;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input::placeholder {
    color: #a0aec0;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.result, .error {
    margin-top: 30px;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
}

.result {
    background: #f0fff4;
    border: 2px solid #68d391;
}

.error {
    background: #fed7d7;
    border: 2px solid #fc8181;
}

.success-icon, .error-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.success-icon {
    color: #38a169;
}

.error-icon {
    color: #e53e3e;
}

.result h3, .error h3 {
    color: #2d3748;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.credential-details {
    background: white;
    padding: 16px;
    border-radius: 8px;
    margin: 16px 0;
    text-align: left;
}

.credential-details p {
    margin-bottom: 8px;
    color: #4a5568;
    font-size: 14px;
}

.credential-details p:last-child {
    margin-bottom: 0;
}

.credential-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #667eea;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.credential-link:hover {
    background: #5a67d8;
    transform: translateY(-1px);
}

.error p {
    color: #e53e3e;
    font-size: 14px;
}

.footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 600px) {
    .form-card {
        padding: 30px 20px;
    }
    
    .header h1 {
        font-size: 18px;
    }
    
    .logo {
        width: 220px;
        height: 120px;
    }
}

/* Animation for form submission */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result, .error {
    animation: fadeIn 0.5s ease-out;
} 

.poweredby {
    font-size: 12px;
    color:rgb(178, 178, 178);
    margin-top: 10px;
}

.footer-link {
    color:rgb(222, 222, 222);
    text-decoration: none;
}

.footer-link:hover {
    color:rgb(255, 255, 255);
    text-decoration: underline;
}