
/* The styles below deals with left buttons on the user interface after log in etc */
.buttonStyle {
  border: 0;
  line-height: 2.5;
  padding: 0 10px;
  text-align: center;
  color: #fff;
  text-shadow: 1px 1px 1px #000;
  border-radius: 10px;
  background-color: rgba(220, 0, 0, 1);
  background-image: linear-gradient(
    to top left,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.2) 30%,
    rgba(0, 0, 0, 0)
  );
  box-shadow:
    inset 2px 2px 3px rgba(255, 255, 255, 0.6),
    inset -2px -2px 3px rgba(0, 0, 0, 0.6);
}

.buttonStyle:hover {
  background-color: rgba(255, 0, 0, 1);
}

.buttonStyle:active {
  box-shadow:
    inset -2px -2px 3px rgba(255, 255, 255, 0.6),
    inset 2px 2px 3px rgba(0, 0, 0, 0.6);
}

/*  The styles below deals with the show and hide buttons for top up and transaction hostory   */
.showButtonStyle{
margin-left:40px; margin-bottom: 15px; }

/*   These styles below deal with the chat page */

.header {
            background: linear-gradient(135deg, #2563eb, #1d4ed8);
            color: white;
            padding: 30px;
            text-align: center;
            position: relative;
        }
        
        .header h1 {
            font-size: 2.5em;
            margin-bottom: 10px;
            font-weight: 600;
        }
        
        .header p {
            font-size: 1.1em;
            opacity: 0.9;
        }
        
        .status-indicator {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #10b981;
        }
        
        .chat-area {
            height: 300px;
            overflow-y: auto;
            padding: 20px;
            background: #f8fafc;
            border-bottom: 1px solid #e2e8f0;
        }
        
        .message {
            margin-bottom: 16px;
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }
        
        .message.user {
            flex-direction: row-reverse;
        }
        
        .message-content {
            max-width: 70%;
            padding: 12px 16px;
            border-radius: 18px;
            font-size: 16px;
            line-height: 1.5;
            word-wrap: break-word;
        }
        
        .message.user .message-content {
            background: #2563eb;
            color: white;
        }
        
        .message.assistant .message-content {
            background: white;
            color: #1f2937;
            border: 1px solid #e2e8f0;
        }
        
        .message.error .message-content {
            background: #fee2e2;
            color: #dc2626;
            border: 1px solid #fecaca;
        }
        
        .avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 14px;
            flex-shrink: 0;
        }
        
        .message.user .avatar {
            background: #3b82f6;
            color: white;
        }
        
        .message.assistant .avatar {
            background: #f1f5f9;
            color: #475569;
        }
        
        .message.error .avatar {
            background: #fee2e2;
            color: #dc2626;
        }
        
        .input-area {
            padding: 20px;
            background: white;
        }
        
        .input-form {
            display: flex;
            gap: 12px;
            align-items: center;
        }
        
        .message-input {
            flex: 1;
            padding: 14px 18px;
            border: 2px solid #e2e8f0;
            border-radius: 25px;
            font-size: 16px;
            outline: none;
            transition: all 0.2s ease;
        }
        
        .message-input:focus {
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        }
        
        .message-input:disabled {
            background: #f9fafb;
            cursor: not-allowed;
        }
        
        .send-btn {
            background: #2563eb;
            color: white;
            border: none;
            padding: 14px 24px;
            border-radius: 25px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            min-width: 100px;
        }
        
        .send-btn:hover:not(:disabled) {
            background: #1d4ed8;
            transform: translateY(-1px);
        }
        
        .send-btn:disabled {
            background: #9ca3af;
            cursor: not-allowed;
            transform: none;
        }
        
        .intro-message {
            text-align: center;
            color: #6b7280;
            padding: 40px 20px;
            font-size: 18px;
        }
        
        .error-banner {
            background: #fee2e2;
            color: #dc2626;
            padding: 12px 20px;
            text-align: center;
            display: none;
        }
        
        .error-banner.show {
            display: block;
        }
        
        .debug-info {
            background: #f3f4f6;
            color: #374151;
            padding: 8px 20px;
            font-size: 12px;
            border-top: 1px solid #e5e7eb;
            display: none;
        }
        
        .debug-info.show {
            display: block;
        }
        
        @media (max-width: 600px) {
            .input-form {
                flex-direction: column;
                gap: 12px;
            }
            
            .message-input {
                width: 100%;
            }
            
            .header h1 {
                font-size: 2em;
            }
        }