/* My 4 Ever Dating Platform Styles */

:root {
    --primary-red: #DC143C;
    --primary-dark: #B01030;
    --text-dark: #2C2C2C;
    --text-light: #666666;
    --bg-light: #F9F9F9;
    --white: #FFFFFF;
    --border: #E0E0E0;
    --success: #28A745;
    --warning: #FFC107;
    --danger: #DC3545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: linear-gradient(135deg, #F9F9F9 0%, #FFEEF2 100%);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Logo */
.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo-img {
    max-width: 250px;
    height: auto;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 10px;
    font-weight: normal;
}

h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: normal;
}

h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: normal;
}

.subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Auth Box */
.auth-box {
    background: var(--white);
    border-radius: 20px;
    padding: 50px;
    max-width: 500px;
    margin: 50px auto;
    box-shadow: 0 10px 40px rgba(220, 20, 60, 0.1);
}

/* Forms */
.form {
    margin-top: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-red);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--white);
    width: 100%;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
    background: var(--primary-red);
    color: var(--white);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.alert-error {
    background: #FFE5E5;
    color: var(--danger);
    border: 1px solid var(--danger);
}

.alert-success {
    background: #E5F8E8;
    color: var(--success);
    border: 1px solid var(--success);
}

.alert-warning {
    background: #FFF8E5;
    color: #856404;
    border: 1px solid var(--warning);
}

.alert-info {
    background: #E5F3FF;
    color: #004085;
    border: 1px solid #B8DAFF;
}

/* Navigation */
.navbar {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.navbar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo img {
    height: 160px;
}

.navbar-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.navbar-menu a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar-menu a:hover {
    color: var(--primary-red);
}

.navbar-menu a.active {
    color: var(--primary-red);
    font-weight: 600;
}

/* Dashboard Layout */
.dashboard {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    margin-top: 30px;
}

.sidebar {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    height: fit-content;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 15px;
}

.sidebar-menu a {
    display: block;
    padding: 12px 15px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: var(--primary-red);
    color: var(--white);
}

.main-content {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* Cards */
.card {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

.card-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
}

.card-body {
    margin-bottom: 15px;
}

.card-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

/* Profile Cards */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.profile-card {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--border);
    transition: all 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.15);
    border-color: var(--primary-red);
}

.profile-card h3 {
    color: var(--primary-red);
    margin-bottom: 10px;
}

.profile-card .bio {
    color: var(--text-light);
    margin-bottom: 15px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.tag {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
}

.tag.verified {
    background: var(--success);
    color: var(--white);
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-dark));
    color: var(--white);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Messages */
.conversation {
    max-height: 500px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
}

.message {
    margin-bottom: 15px;
    padding: 12px 18px;
    border-radius: 15px;
    max-width: 70%;
}

.message.sent {
    background: var(--primary-red);
    color: var(--white);
    margin-left: auto;
    border-bottom-right-radius: 5px;
}

.message.received {
    background: var(--white);
    color: var(--text-dark);
    border-bottom-left-radius: 5px;
}

.message-time {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 5px;
}

.conversation-starter {
    background: var(--primary-red);
    color: var(--white);
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-style: italic;
}

.conversation-starter strong {
    display: block;
    margin-bottom: 5px;
    font-style: normal;
}

/* Wellbeing */
.mindfulness-tip {
    background: linear-gradient(135deg, #FFE5EC, #FFF0F5);
    border-left: 4px solid var(--primary-red);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.connection-limit {
    text-align: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
    margin-bottom: 20px;
}

.connection-limit .count {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-red);
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-light);
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}

a {
    color: var(--primary-red);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard {
        grid-template-columns: 1fr;
    }
    
    .auth-box {
        padding: 30px 20px;
    }
    
    .profile-grid {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .navbar-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .navbar-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
}
