/* Custom styles for Patitags Login */
:root {
    --patitags-orange: #FF5722;
    --patitags-orange-hover: #E64A19;
    --patitags-yellow: #FBC02D;
    --patitags-blue: #03A9F4;
    --patitags-light-bg: #F5F7FA;
    --patitags-card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --patitags-focus-shadow: 0 0 0 0.25rem rgba(255, 87, 34, 0.15);
}

body {
    background-color: var(--patitags-light-bg);
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #2D3748;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 0;
}

/* Header */
.app-header {
    margin-bottom: 20px;
}

.brand-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: contain;
    background-color: white;
    padding: 6px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.05);
}

/* Card */
.custom-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    box-shadow: var(--patitags-card-shadow);
    padding: 20px 15px;
}

/* Form controls */
.form-label {
    font-weight: 600;
    color: #4A5568;
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.input-group-text {
    border-radius: 12px 0 0 12px;
    border: 1px solid #E2E8F0;
    border-right: none;
    font-size: 0.95rem;
}

.form-control {
    border-radius: 0 12px 12px 0;
    padding: 12px 16px;
    border: 1px solid #E2E8F0;
    font-size: 0.95rem;
    color: #2D3748;
    background-color: #F8FAFC;
    transition: all 0.2s ease;
}

/* Special case when there is a password toggle button */
.input-group > .form-control:not(:first-child):not(:last-child) {
    border-radius: 0;
}

.form-control:focus {
    background-color: white;
    border-color: var(--patitags-orange);
    box-shadow: none;
}

.input-group:focus-within {
    box-shadow: var(--patitags-focus-shadow);
    border-radius: 12px;
}

.input-group:focus-within .form-control, 
.input-group:focus-within .input-group-text,
.input-group:focus-within .btn {
    border-color: var(--patitags-orange);
}

/* Submit Button */
.btn-submit {
    background: linear-gradient(135deg, var(--patitags-orange), #FF7043);
    color: white;
    border: none;
    font-weight: 700;
    border-radius: 14px;
    padding: 14px 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit:hover, .btn-submit:focus {
    background: linear-gradient(135deg, var(--patitags-orange-hover), var(--patitags-orange));
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.35);
}

.btn-submit:disabled {
    background: #CBD5E1;
    box-shadow: none;
    cursor: not-allowed;
}

/* Alerts */
.alert-custom {
    border-radius: 16px;
    border: none;
    padding: 14px;
    font-size: 0.9rem;
}

/* Footer */
.custom-footer {
    font-size: 0.82rem;
    color: #A0AEC0;
}

/* Validation */
.is-invalid {
    border-color: #EF4444 !important;
}

.invalid-feedback {
    display: block;
    font-size: 0.8rem;
    color: #EF4444;
    margin-top: 4px;
    padding-left: 5px;
}
