/* RecomAI Chatbot Admin UI Styles */

:root {
    --recomai-primary: #1F3F6D;
    --recomai-blue-light: #4A90E2;
    --recomai-gradient-start: #0f2027;
    --recomai-gradient-mid: #203a43;
    --recomai-gradient-end: #2c5364;
    --recomai-text: #2C3E50;
    --recomai-text-light: #7F8C8D;
    --recomai-bg: #F4F7FB;
    --recomai-white: #FFFFFF;
    --recomai-border: #E1E8ED;
}

.recomai-wrap {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    margin: 20px 20px 0 0;
    background: url('images/blue-light-gradient.png') no-repeat center center fixed;
    background-size: cover;
    min-height: calc(100vh - 80px);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.recomai-wrap::before {
    content: "";
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: linear-gradient(135deg, rgba(8, 27, 61, 0.9) 0%, rgba(13, 71, 161, 0.8) 100%);
    z-index: 0;
}

.recomai-header {
    text-align: center;
    margin-bottom: 30px;
    z-index: 1;
}

.recomai-header h2 {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.recomai-header span {
    color: #82b1ff;
}

#recomai-content {
    background: var(--recomai-bg);
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 440px;
    z-index: 1;
    overflow: hidden;
}

/* Split Layout */
.recomai-split-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    z-index: 1;
    gap: 40px;
    align-items: center;
}

.recomai-info-side {
    flex: 1;
    color: #fff;
    padding: 40px;
}

.recomai-info-side h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.recomai-info-side p.recomai-subtext {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    max-width: 540px;
}

.recomai-contact-box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 40px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px 30px;
    margin-top: 40px;
}

.recomai-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: rgba(255,255,255,0.9);
}

.recomai-contact-item span.dashicons {
    color: var(--recomai-blue-light);
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.recomai-form-side {
    flex: 0 0 440px;
    display: flex;
    justify-content: center;
}

@media (max-width: 1024px) {
    .recomai-split-container {
        flex-direction: column;
        gap: 40px;
        padding: 20px;
    }
    .recomai-info-side {
        padding: 20px;
        text-align: center;
    }
    .recomai-info-side h1 {
        font-size: 36px;
    }
    .recomai-info-side p.recomai-subtext {
        margin: 0 auto 30px;
    }
    .recomai-contact-box {
        justify-content: center;
    }
    .recomai-form-side {
        flex: 1;
        width: 100%;
    }
}

.recomai-card {
    padding: 40px;
    background: var(--recomai-bg);
    border-radius: 16px;
}

.recomai-logo {
    display: block;
    margin: 0 auto 30px;
    width: 200px;
}

/* Form Elements */
.recomai-form-group {
    margin-bottom: 20px;
}

.recomai-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--recomai-primary);
    margin-bottom: 8px;
}

.recomai-form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid var(--recomai-border);
    border-radius: 6px;
    background: transparent;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.recomai-form-control:focus {
    border-color: var(--recomai-blue-light);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    outline: none;
}

.recomai-row {
    display: flex;
    gap: 15px;
}
.recomai-col {
    flex: 1;
}

.recomai-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: #e2e8f0;
    color: #475569;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    white-space: nowrap;
}

.recomai-btn:hover {
    background: #cbd5e1;
    transform: translateY(-1px);
}

.recomai-btn-primary {
    background: var(--recomai-primary);
    color: #fff;
}

.recomai-btn-primary:hover {
    background: var(--recomai-blue-light);
    color: #fff;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.recomai-btn-outline {
    background: transparent;
    border: 1px solid var(--recomai-border);
    color: var(--recomai-text);
}

.recomai-btn-outline:hover {
    background: rgba(0,0,0,0.02);
    border-color: var(--recomai-blue-light);
}

.recomai-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
    align-items: center;
}

.recomai-btn-link {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    padding: 5px 10px;
    transition: opacity 0.2s;
}

.recomai-btn-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Utilities */
.text-center {
    text-align: center;
}
.mt-20 {
    margin-top: 20px;
}
.recomai-link {
    color: var(--recomai-primary);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}
.recomai-link:hover {
    text-decoration: underline;
}

.recomai-alert {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
}
.recomai-alert-error {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #f87171;
}
.recomai-alert-success {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #4ade80;
}

/* Spinner */
.recomai-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    vertical-align: text-bottom;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.recomai-hidden {
    display: none !important;
}


