/* themes/css/login.css - ავტორიზაციის გვერდის სტილები */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

body {
    background-color: #fff;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 375px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: #fff;
    position: relative;
}

/* Header */
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    height: 60px;
}

.time-display {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: 500;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #ff6b35;
}

/* Main Content */
.main-content {
    padding: 40px 24px 30px 24px;
}

/* Welcome Section */
.welcome-section {
    text-align: center;
    margin-bottom: 40px;
}

.welcome-section h1 {
    font-size: 28px;
    margin-bottom: 12px;
    color: #333;
    font-weight: 700;
}

.welcome-section p {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
    max-width: 280px;
    margin: 0 auto;
}

/* Form Styles */
.form-container {
    margin-bottom: 24px;
}

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

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

.form-control {
    width: 100%;
    padding: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.form-control:focus {
    outline: none;
    border-color: #ff6b35;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-control::placeholder {
    color: #999;
}

/* Email ველის სტილები */
#email {
    background-color: #f5f5f5;
    color: #666;
    font-weight: 500;
}

/* Password ველის სტილები */
.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
}

.password-toggle:hover {
    color: #333;
}

/* Forgot Password Link */
.forgot-password {
    display: block;
    text-align: right;
    margin-top: 12px;
    margin-bottom: 32px;
}

.forgot-password a {
    color: #ff6b35;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.forgot-password a:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: block;
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: #ff6b35;
    color: white;
    margin-bottom: 24px;
}

.btn-primary:hover {
    background-color: #ff5722;
}

/* Create Account Link */
.create-account {
    text-align: center;
    margin-bottom: 32px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.create-account p {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.create-account a {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
}

.create-account a:hover {
    text-decoration: underline;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 32px 0;
    color: #999;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #eee;
}

.divider span {
    padding: 0 16px;
    font-size: 14px;
    font-weight: 500;
}

/* Social Login Buttons */
.social-login {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #fff;
    color: #333;
    border: 1px solid #e0e0e0;
    padding: 16px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-social:hover {
    background-color: #f8f9fa;
    border-color: #ccc;
}

.btn-social img {
    width: 20px;
    height: 20px;
}

.btn-social span {
    flex: 1;
    text-align: center;
}

/* Alert Messages */
.alert {
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert:before {
    font-size: 18px;
}

.alert-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.alert-success:before {
    content: "✓";
}

.alert-error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.alert-error:before {
    content: "!";
}

.alert-info {
    background-color: #e3f2fd;
    color: #1565c0;
    border: 1px solid #bbdefb;
}

.alert-info:before {
    content: "i";
}

/* Terms */
.terms {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.terms a {
    color: #ff6b35;
    text-decoration: none;
}

.terms a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 375px) {
    .container {
        border: none;
    }
    
    .main-content {
        padding: 32px 20px 20px 20px;
    }
    
    .welcome-section h1 {
        font-size: 24px;
    }
    
    .welcome-section p {
        font-size: 15px;
    }
    
    .form-control {
        padding: 14px;
    }
    
    .btn {
        padding: 16px;
    }
}

/* პატარა ეკრანებისთვის */
@media (max-width: 320px) {
    .main-content {
        padding: 28px 16px 16px 16px;
    }
    
    .welcome-section h1 {
        font-size: 22px;
    }
    
    .form-control {
        padding: 12px;
        font-size: 15px;
    }
    
    .btn {
        padding: 14px;
        font-size: 15px;
    }
    
    .btn-social {
        padding: 14px;
        font-size: 14px;
    }
}