* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f0f2f5;
    color: #333;
    padding: 20px;
}

.app-container {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    gap: 20px;
    height: 85vh;
}

/* Email Window styling */
.email-client {
    flex: 2;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.email-header {
    background: #0056b3;
    color: white;
    padding: 15px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.email-body {
    padding: 25px;
    line-height: 1.6;
}

.meta-data {
    margin-bottom: 10px;
    color: #555;
}

.email-text {
    margin: 15px 0;
}

.btn-container {
    margin: 25px 0;
}

.phish-btn {
    background-color: #d9534f;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
}

/* Security Sidebar styling */
.sidebar {
    flex: 1;
    background: #1e293b;
    color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.sidebar h2 {
    margin-bottom: 15px;
    color: #38bdf8;
}

#analyze-btn {
    width: 100%;
    background: #10b981;
    color: white;
    border: none;
    padding: 12px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    margin: 20px 0;
    transition: background 0.2s;
}

#analyze-btn:hover {
    background: #059669;
}

/* Phishing Highlight States */
.highlight {
    background-color: #fee2e2 !important;
    border: 2px dashed #ef4444 !important;
    padding: 2px 6px;
    border-radius: 4px;
    cursor: help;
    transition: all 0.3s ease;
}

/* Tip Display Box */
#tip-box {
    background: #334155;
    padding: 15px;
    border-left: 4px solid #38bdf8;
    border-radius: 4px;
    margin-top: 15px;
}

#tip-box h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #38bdf8;
}

.hidden {
    display: none;
}
