/* Modern Reset & Base */
.mofixer-portal-wrapper {
    max-width: 1000px;
    margin: 40px auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Login Card */
.mofixer-portal-login {
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    max-width: 450px;
    margin: 60px auto;
    text-align: center;
}

.mofixer-portal-login h2 {
    margin-bottom: 30px;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 26px;
}

/* Form Elements */
.mofixer-form-group {
    margin-bottom: 25px;
    text-align: left;
}

.mofixer-form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 14px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mofixer-form-group input {
    width: 100% !important;
    padding: 16px !important;
    border: 2px solid #eef0f5 !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    background: #f8faff !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.mofixer-form-group input:focus {
    border-color: #3498db !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1) !important;
    outline: none !important;
}

.mofixer-btn {
    background: #2c3e50;
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.mofixer-btn:hover {
    background: #34495e;
    transform: translateY(-2px);
}

/* Dashboard Layout */
.mofixer-portal-dashboard {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-top: 30px;
}

.mofixer-portal-header {
    background: #2c3e50;
    padding: 30px 40px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mofixer-portal-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: white;
}

.mofixer-portal-grid {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    /* Info smaller, Chat bigger */
    min-height: 600px;
}

@media(max-width: 800px) {
    .mofixer-portal-grid {
        grid-template-columns: 1fr;
    }
}

/* Info Section */
.mofixer-portal-info {
    padding: 40px;
    background: #fcfcfc;
    border-right: 1px solid #edf2f7;
}

.mofixer-portal-info h3 {
    margin-top: 0;
    font-size: 18px;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.mofixer-portal-info p {
    margin-bottom: 15px;
    font-size: 15px;
    color: #4a5568;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

.mofixer-portal-info p strong {
    color: #2d3748;
}

.mofixer-payment-cta {
    background: #ebf8ff;
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid #4299e1;
    margin-top: 40px;
    text-align: center;
}

.mofixer-payment-cta p {
    border: none;
    padding: 0;
    margin-bottom: 15px;
}

.btn-green {
    background: #48bb78;
}

.btn-green:hover {
    background: #38a169;
    box-shadow: 0 5px 15px rgba(72, 187, 120, 0.3);
}

/* Chat Section */
.mofixer-portal-chat {
    padding: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    height: 600px;
}

.mofixer-chat-window {
    flex-grow: 1;
    overflow-y: auto;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #ffffff;
}

.chat-msg {
    max-width: 75%;
    padding: 15px 20px;
    border-radius: 18px;
    font-size: 15px;
    line-height: 1.5;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.chat-msg.them {
    align-self: flex-start;
    background: #f1f5f9;
    color: #334155;
    border-bottom-left-radius: 4px;
}

.chat-msg.me {
    align-self: flex-end;
    background: #3b82f6;
    color: white;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2);
}

.msg-text {
    display: block;
}

.msg-meta {
    display: block;
    font-size: 11px;
    margin-top: 6px;
    opacity: 0.7;
    text-align: right;
}

.chat-msg.them .msg-meta {
    text-align: left;
}


.mofixer-chat-form {
    padding: 20px 30px;
    border-top: 1px solid #edf2f7;
    background: #f8fafc;
    display: flex;
    gap: 15px;
}

.mofixer-chat-form textarea {
    flex-grow: 1;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px;
    height: 60px;
    resize: none;
    font-family: inherit;
    transition: border 0.3s;
}

.mofixer-chat-form textarea:focus {
    border-color: #3b82f6;
    outline: none;
}

.mofixer-btn-small {
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    height: 60px;
    width: 175px;
    /* match textarea */
}

.mofixer-btn-small:hover {
    background: #2563eb;
}