/* public/assets/css/style.css - Signelli Base Styles */

:root {
    --color-orange: #ff6b35;
    --color-light-blue: #0099cc;
    --color-dark-blue: #003366;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;
    --color-success: #10b981;
    --color-error: #ef4444;
    --color-warning: #f59e0b;
    --border-radius: 8px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-gray-900);
    background-color: var(--color-gray-50);
}

a {
    color: var(--color-light-blue);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--color-dark-blue);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--color-dark-blue);
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

/* Navbar */
.navbar {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--color-gray-700);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--color-dark-blue);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--color-gray-700);
    transition: background-color 0.2s;
}

.dropdown-item:hover {
    background-color: var(--color-gray-50);
    color: var(--color-dark-blue);
}

.dropdown-menu hr {
    margin: 0.5rem 0;
    border: none;
    border-top: 1px solid var(--color-gray-200);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-orange), #ff8555);
    color: white;
    box-shadow: 0 4px 6px rgba(255, 107, 53, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 107, 53, 0.3);
    color: white;
}

.btn-secondary {
    background: var(--color-gray-200);
    color: var(--color-gray-700);
}

.btn-secondary:hover {
    background: var(--color-gray-300);
    color: var(--color-gray-900);
}

.btn-danger {
    background: var(--color-error);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
    color: white;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-light-blue);
    box-shadow: 0 0 0 3px rgba(0, 153, 204, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: var(--color-gray-500);
    font-size: 0.875rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkbox label {
    display: flex;
    align-items: center;
    font-weight: normal;
}

.checkbox input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    border-radius: var(--border-radius);
    font-weight: 500;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert ul {
    margin: 0;
    padding-left: 1.5rem;
}

/* Auth Pages */
.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-box {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 400px;
}

.auth-box h1 {
    margin-bottom: 0.25rem;
    text-align: center;
}

.auth-box .subtitle {
    text-align: center;
    color: var(--color-gray-600);
    margin-bottom: 2rem;
}

.auth-form {
    margin-bottom: 2rem;
}

.forgot-link {
    float: right;
    font-size: 0.875rem;
}

.terms-text {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-gray-600);
}

.auth-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-gray-200);
}

/* Dashboard */
.dashboard-container {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.empty-state img {
    width: 200px;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.empty-state h2 {
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--color-gray-600);
    margin-bottom: 2rem;
}

/* Signature Grid */
.signature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.signature-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.signature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.signature-preview {
    padding: 2rem;
    background: var(--color-gray-50);
    min-height: 200px;
    font-size: 0.875rem;
    overflow: hidden;
}

.signature-actions {
    padding: 1.5rem;
}

.signature-actions h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.signature-actions p {
    color: var(--color-gray-600);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

/* Upgrade Prompt */
.upgrade-prompt {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, var(--color-dark-blue), var(--color-light-blue));
    color: white;
    border-radius: var(--border-radius);
    margin-top: 3rem;
}

.upgrade-prompt h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.upgrade-prompt p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--color-dark-blue);
    color: white;
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Implement mobile menu later */
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .signature-grid {
        grid-template-columns: 1fr;
    }
    
    .auth-box {
        padding: 2rem;
    }

/* Improved Review Buttons - Solid style with better contrast */
.review-btn-solid, .phone-btn-solid {
    display: inline-block;
    padding: 15px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.review-btn-solid {
    background: var(--color-orange);
    color: white;
}

.review-btn-solid:hover {
    background: #ff8555;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.3);
    color: white;
}

.phone-btn-solid {
    background: var(--color-light-blue);
    color: white;
}

.phone-btn-solid:hover {
    background: #00b3e6;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 153, 204, 0.3);
    color: white;
}

/* Social Icons - Fixed version */
.social-icons {
    display: flex;
    justify-content: center !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
}

.social-icons a {
    color: #ffffff !important; /* Force white color */
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    min-width: 44px;
    min-height: 44px;
}

.social-icons a svg {
    display: block;
    transition: all 0.3s;
    fill: currentColor; /* Ensure SVG uses the link color */
}

.social-icons a:hover {
    color: #ffffff !important; /* Keep white on hover */
    background: var(--color-orange);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .review-btn-solid, .phone-btn-solid {
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .social-icons {
        gap: 15px;
    }
    
    .social-icons a svg {
        width: 24px;
        height: 24px;
    }
}