/*
Theme Name: Escrow Theme
Theme URI: https://example.com
Author: ChatGPT
Author URI: https://openai.com
Description: A custom WordPress escrow marketplace starter theme.
Version: 1.0
License: GPL2
Text Domain: escrow-theme
*/

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f7fb;
    color: #222;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.site-header {
    background: #0d1b2a;
    color: #fff;
    padding: 15px 0;
}

.site-header .logo a {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
}

.hero {
    background: linear-gradient(135deg, #1b263b, #415a77);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 25px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #00b894;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
}

.section {
    padding: 60px 0;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 25px;
}

.sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
}

.main-panel {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
}

.escrow-table {
    width: 100%;
    border-collapse: collapse;
}

.escrow-table th,
.escrow-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    display: inline-block;
}

.status.pending { background: #ffeaa7; }
.status.active { background: #81ecec; }
.status.released { background: #55efc4; }
.status.dispute { background: #fab1a0; }

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.site-footer {
    background: #0d1b2a;
    color: #fff;
    text-align: center;
    padding: 25px 0;
    margin-top: 40px;
}

@media(max-width: 768px) {
    .cards {
        grid-template-columns: 1fr;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 30px;
    }
}
.auth-box {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.auth-box h2 {
    margin-bottom: 10px;
    text-align: center;
}

.auth-box p {
    text-align: center;
    color: #666;
}

.auth-form {
    margin-top: 25px;
}

.auth-btn {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.auth-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.auth-divider span {
    background: #fff;
    padding: 0 12px;
    position: relative;
    z-index: 2;
    color: #777;
}

.auth-divider::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #ddd;
    z-index: 1;
}

.google-login-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    color: #222;
    transition: 0.3s ease;
}

.google-login-btn:hover {
    background: #f8f9fa;
}

.auth-switch {
    margin-top: 20px;
    text-align: center;
}

.auth-switch a {
    color: #00b894;
    font-weight: bold;
    text-decoration: none;
}

.auth-alert {
    margin: 15px 0;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
}

.auth-alert.error {
    background: #ffe6e6;
    color: #c0392b;
}
.auth-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-nav a {
    text-decoration: none;
}

@media(max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
    }

    .auth-nav {
        flex-direction: column;
        width: 100%;
    }

    .auth-nav .btn {
        width: 100%;
        text-align: center;
    }
}