/* Location: /www/wwwroot/payorget.com/app/Modules/Core/Auth/Assets/css/register.css */
/**
 * ============================================================================
 * register.css - Registration Page Styles
 * ============================================================================
 *
 * File Location: /www/wwwroot/payorget.com/app/Modules/Core/Auth/Assets/css/register.css
 *
 * Purpose: Complete styles for registration page
 * Updated: Icons after labels, zero left padding on labels
 *
 * ============================================================================
 */

@import url('https://cdn.jsdelivr.net/gh/lipis/flag-icons@7.0.0/css/flag-icons.min.css');

body {
    margin: 0;
    padding: 0;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.auth-container {
    width: 440px;
    margin: 0 auto;
    position: relative;
}
.back-link-container {
    text-align: center;
    margin-bottom: 20px;
}
.back-link {
    color: #666666;
    text-decoration: none;
    font-size: 14px;
}
.back-link:hover {
    color: #333333;
}
.error-banner {
    position: absolute;
    top: 44px;
    left: 0;
    width: 440px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    padding: 12px 15px;
    color: #721c24;
    font-size: 13px;
    line-height: 1.5;
    box-sizing: border-box;
    z-index: 10;
    text-align: center;
    animation: slideDown 0.3s ease-out;
}
.error-banner strong {
    display: block;
    margin-bottom: 8px;
}
.error-banner ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.error-banner li {
    margin: 3px 0;
}
.error-banner.fade-out {
    animation: fadeOut 0.5s ease-out forwards;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}
.auth-card {
    width: 440px;
    background: #ffffff;
    border-radius: 6px;
    padding: 45px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    min-height: 450px;
}
.auth-header {
    text-align: center;
    margin-bottom: 35px;
}
.header-with-lang {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    position: relative;
}
.auth-header h2 {
    font-size: 26px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}
.lang-switcher {
    display: flex;
    gap: 3px;
}
.lang-btn {
    padding: 3px 6px;
    font-size: 10px;
    font-weight: 500;
    color: #666666;
    background: #f5f5f5;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
}
.lang-btn:hover {
    background: #e8e8e8;
}
.lang-btn.active {
    color: #ffffff;
    background: #0066cc;
    border-color: #0066cc;
}
.form-group {
    margin-bottom: 22px;
}
.label-with-icon {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0px;
}
.label-password {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 0px;
}
.label-left {
    display: flex;
    align-items: center;
    gap: 6px;
}
.label-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.link-generate {
    font-size: 12px;
    font-weight: 500;
    color: #0066cc;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s;
}
.link-generate:hover {
    color: #0052a3;
}
.icon-eye {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #666666;
    transition: color 0.2s;
    background: none;
    border: none;
    padding: 0;
    font-size: 18px;
}
.icon-eye:hover {
    color: #0066cc;
}
.validation-icon {
    font-size: 13px;
    min-width: 13px;
    font-weight: bold;
}
.validation-icon.success {
    color: #28a745;
}
.validation-icon.error {
    color: #dc3545;
}
.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    margin: 0;
    padding: 0;
}
.form-control {
    width: 100%;
    height: 46px;
    padding: 0 15px;
    font-size: 15px;
    color: #1a1a1a;
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    box-sizing: border-box;
}
.form-control:focus {
    border: 1px solid #999999;
    outline: none;
}
.form-control.is-invalid {
    border-color: #d0d0d0;
}
.phone-input-wrapper {
    display: flex;
    gap: 10px;
}
.country-dropdown {
    position: relative;
    width: 110px;
    flex-shrink: 0;
}
.country-selector {
    width: 100%;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    color: #1a1a1a;
}
.country-selector:hover {
    border-color: #999999;
}
.country-selector.active {
    border-color: #999999;
}
.flag-icon {
    display: flex;
    align-items: center;
}
.fi {
    width: 20px;
    height: 15px;
    margin-right: 6px;
    border-radius: 2px;
}
.country-code {
    font-weight: 500;
    flex: 1;
}
.dropdown-arrow {
    color: #666666;
    transition: transform 0.2s;
}
.country-selector.active .dropdown-arrow {
    transform: rotate(180deg);
}
.country-list {
    position: absolute;
    top: 50px;
    left: 0;
    width: 280px;
    max-height: 320px;
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    overflow: hidden;
}
.country-search {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
    box-sizing: border-box;
}
.country-search:focus {
    outline: none;
    background: #f8f9fa;
}
.country-options {
    max-height: 280px;
    overflow-y: auto;
}
.country-option {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    cursor: pointer;
    transition: background 0.15s;
}
.country-option:hover {
    background: #f8f9fa;
}
.country-option.selected {
    background: #e3f2fd;
}
.country-option .fi {
    width: 20px;
    height: 15px;
    margin-right: 10px;
    border-radius: 2px;
}
.country-option .country-name {
    flex: 1;
    font-size: 14px;
    color: #333333;
}
.country-option .country-code {
    font-size: 13px;
    color: #666666;
    font-weight: 500;
}
.phone-number {
    flex: 1;
}
.btn-primary {
    width: 100%;
    height: 46px;
    background: #0066cc;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    margin-top: 12px;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background: #0052a3;
}
.btn-primary:disabled {
    background: #cccccc;
    cursor: not-allowed;
    opacity: 0.6;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.form-check {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
}
.form-check.terms-check {
    margin-bottom: 18px;
}
.form-check-input {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}
.form-check-label {
    font-size: 14px;
    color: #333333;
    cursor: pointer;
    line-height: 1.5;
}
.terms-check .form-check-label {
    font-size: 13px;
}
.terms-link {
    color: #0066cc;
    text-decoration: none;
}
.terms-link:hover {
    text-decoration: underline;
}
.auth-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
}
.auth-footer p {
    font-size: 14px;
    color: #666666;
    margin: 8px 0;
}
.link-primary {
    color: #0066cc;
    text-decoration: none;
}
.link-primary:hover {
    text-decoration: underline;
}
.link-secondary {
    color: #666666;
    text-decoration: none;
}
.link-secondary:hover {
    text-decoration: underline;
}
.text-muted {
    color: #999999;
    font-size: 13px;
}
.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}
.alert-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #155724;
}