﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: white;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

    .header .logo {
        color: #ff6b35;
        font-size: 32px;
        font-weight: bold;
        text-decoration: none;
    }

/* Main Content */
.main-content {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

.login-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    margin-bottom: 100px;
}

.login-form-container {
    flex: 1;
    max-width: 400px;
}

.login-title {
    color: #2c5282;
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 8px;
}

.version {
    color: #718096;
    font-size: 14px;
    margin-left: 8px;
}

.welcome-text {
    color: #4a5568;
    font-size: 18px;
    margin-bottom: 40px;
}

.error-message {
    background-color: #fed7d7;
    color: #9b2c2c;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #feb2b2;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: slideDown 0.3s ease-out;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

    .error-message i {
        font-size: 16px;
        color: #e53e3e;
    }

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    color: #4a5568;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background-color: white;
}

    .form-input:focus {
        outline: none;
        border-color: #ff6b35;
    }

    .form-input::placeholder {
        color: #a0aec0;
    }

.login-btn {
    width: 100%;
    padding: 14px;
    background-color: #4a5568;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .login-btn:hover {
        background-color: #2d3748;
    }

    .login-btn i {
        font-size: 14px;
    }

.device-image {
    flex: 1;
    text-align: center;
}

/* Device Design */
.device-placeholder {
    width: 280px;
    height: 450px;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    border-radius: 20px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    padding: 20px;
}

.device-brand {
    position: absolute;
    top: 15px;
    right: 20px;
    color: rgba(255,255,255,0.7);
    font-size: 10px;
    font-weight: bold;
}

.device-screen {
    width: 100%;
    height: 320px;
    background-color: #1a202c;
    border-radius: 12px;
    margin-bottom: 20px;
    padding: 15px;
    color: white;
    border: 2px solid #4a5568;
}

.screen-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.item-name {
    font-size: 14px;
    color: #e2e8f0;
    text-align: center;
    margin-bottom: 8px;
}

.table-info {
    font-size: 10px;
    color: #a0aec0;
    text-align: center;
    margin-bottom: 15px;
}

.price {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-align: center;
    margin-bottom: 20px;
}

.keypad-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    flex-grow: 1;
    align-content: center;
}

.key {
    background-color: #2d3748;
    color: white;
    border: 1px solid #4a5568;
    border-radius: 4px;
    padding: 8px;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .key:hover {
        background-color: #4a5568;
    }

    .key.function {
        background-color: #ff6b35;
        border-color: #ff6b35;
    }

        .key.function:hover {
            background-color: #e55a2b;
        }

.device-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.button {
    width: 20px;
    height: 12px;
    border-radius: 6px;
}

    .button.green {
        background-color: #48bb78;
    }

    .button.red {
        background-color: #f56565;
    }

    .button.yellow {
        background-color: #ed8936;
    }

/* Business Section */
.business-section {
    text-align: center;
    margin-bottom: 80px;
}

.business-title {
    color: #2c5282;
    font-size: 42px;
    font-weight: 300;
    margin-bottom: 60px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    text-align: center;
}

.contact-title {
    color: #2c5282;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 16px;
}

.contact-description {
    color: #4a5568;
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.contact-info {
    color: #2c5282;
    font-size: 18px;
    font-weight: 600;
}

.provide-info-btn {
    background-color: #4a5568;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

    .provide-info-btn:hover {
        background-color: #2d3748;
    }

/* Footer */
.footer {
    background-color: #2d3748;
    padding: 30px 0;
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    color: #ff6b35;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

.footer-text {
    color: #a0aec0;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    color: #a0aec0;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #4a5568;
    border-radius: 4px;
}

    .social-link:hover {
        color: #ff6b35;
        border-color: #ff6b35;
    }

/* Responsive Design */
@media (max-width: 968px) {
    .login-section {
        flex-direction: column;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .business-title {
        font-size: 32px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-left {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 640px) {
    .login-title {
        font-size: 28px;
    }

    .welcome-text {
        font-size: 16px;
    }

    .business-title {
        font-size: 26px;
    }

    .contact-title {
        font-size: 20px;
    }

    .device-placeholder {
        width: 240px;
        height: 380px;
    }

    .device-screen {
        height: 260px;
    }

    .price {
        font-size: 20px;
    }

    .container {
        padding: 0 15px;
    }
}

/* Legacy support - keeping old classes for compatibility */
.login-wrapper,
.login-card {
    /* These are kept empty for compatibility if referenced elsewhere */
}

/* Hide old elements if they exist */
.login-image {
    display: none;
}
