/* Exact Tobin Brothers Styling */
:root {
    --tobin-green: #5a8a7a;
    --tobin-cream: #f5f3f0;
    --tobin-gold: #d4af37;
    --tobin-dark-green: #4a7a6a;
    --tobin-light-green: #6a9a8a;
    --tobin-text-dark: #333333;
    --tobin-text-light: #666666;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--tobin-cream);
    color: var(--tobin-text-dark);
    line-height: 1.6;
}

/* Header */
.header {
    background-color: var(--tobin-green);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 60px;
    width: auto;
}

.brand-text {
    color: white;
}

.brand-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.brand-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.phone-number {
    background-color: rgba(255,255,255,0.2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    border: 2px solid transparent;
}

.phone-number:hover {
    background-color: rgba(255,255,255,0.3);
    border-color: var(--tobin-gold);
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--tobin-green);
    margin-bottom: 1rem;
    font-weight: 400;
    font-style: italic;
}

.hero p {
    font-size: 1.2rem;
    color: var(--tobin-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Navigation Tabs */
.nav-tabs {
    display: flex;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    border: 3px solid var(--tobin-gold);
}

.nav-tab {
    flex: 1;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.nav-tab.active {
    background-color: var(--tobin-green);
    color: white;
}

.nav-tab:not(.active) {
    background-color: var(--tobin-cream);
    color: var(--tobin-text-dark);
}

.nav-tab:not(.active):hover {
    background-color: var(--tobin-light-green);
    color: white;
}

.tab-number {
    background-color: var(--tobin-gold);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.nav-tab.active .tab-number {
    background-color: white;
    color: var(--tobin-green);
}

/* Content Sections */
.content-section {
    display: none;
    background-color: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border: 2px solid var(--tobin-gold);
}

.content-section.active {
    display: block;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--tobin-green);
    text-align: center;
    margin-bottom: 1rem;
    font-style: italic;
}

.section-description {
    text-align: center;
    color: var(--tobin-text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--tobin-text-dark);
    background-color: var(--tobin-green);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px 5px 0 0;
    margin-bottom: 0;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--tobin-gold);
    border-radius: 0 0 8px 8px;
    font-size: 1rem;
    background-color: #fdf8f3;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--tobin-green);
    background-color: white;
}

/* Buttons */
.btn {
    background-color: var(--tobin-green);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    border: 2px solid var(--tobin-green);
}

.btn:hover {
    background-color: var(--tobin-dark-green);
    border-color: var(--tobin-dark-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(90, 138, 122, 0.3);
}

.btn-center {
    display: block;
    margin: 2rem auto 0;
    text-align: center;
}

/* Conference Link Display */
.conference-link {
    background-color: var(--tobin-cream);
    border: 2px solid var(--tobin-gold);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    text-align: center;
    display: none;
}

.conference-link.show {
    display: block;
}

.conference-link h3 {
    color: var(--tobin-green);
    margin-bottom: 1rem;
}

.conference-url {
    background-color: white;
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid var(--tobin-gold);
    word-break: break-all;
    font-family: monospace;
    color: var(--tobin-text-dark);
}

/* Debug Console */
.debug-console {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--tobin-dark-green);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    z-index: 1000;
    border: 2px solid var(--tobin-gold);
}

.debug-panel {
    position: fixed;
    bottom: 70px;
    right: 20px;
    width: 400px;
    max-height: 300px;
    background-color: #2a2a2a;
    color: #00ff00;
    padding: 1rem;
    border-radius: 10px;
    font-family: monospace;
    font-size: 0.8rem;
    overflow-y: auto;
    display: none;
    z-index: 999;
    border: 2px solid var(--tobin-gold);
}

.debug-panel.show {
    display: block;
}

/* Footer */
.footer {
    background-color: var(--tobin-green);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

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

.footer-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--tobin-gold);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .nav-tabs {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .container {
        padding: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.btn.loading::after {
    content: "...";
    animation: dots 1s infinite;
}

@keyframes dots {
    0%, 20% { content: "..."; }
    40% { content: ".."; }
    60% { content: "."; }
    80%, 100% { content: ""; }
}


/* Conference Cards */
.conference-card {
    background: white;
    border: 2px solid var(--tobin-gold);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.conference-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.conference-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.conference-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--tobin-green);
    margin: 0;
    flex: 1;
}

.delete-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s ease;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-btn:hover {
    background: #c82333;
    transform: scale(1.05);
}

.conference-details {
    margin-bottom: 1.5rem;
}

.conference-details p {
    margin-bottom: 0.5rem;
    color: var(--tobin-text-light);
}

.conference-details strong {
    color: var(--tobin-text-dark);
    font-weight: 600;
}

.conference-url-section {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.conference-url-section label {
    display: block;
    font-weight: 600;
    color: var(--tobin-green);
    margin-bottom: 0.5rem;
}

.url-copy-container {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.conference-url-input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    background-color: #f8f9fa;
    color: var(--tobin-text-dark);
}

.copy-btn {
    background: var(--tobin-green);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.75rem;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    background: var(--tobin-dark-green);
    transform: scale(1.05);
}

.no-conferences {
    text-align: center;
    color: var(--tobin-text-light);
    font-style: italic;
    padding: 2rem;
    background: white;
    border: 2px dashed #ddd;
    border-radius: 12px;
}

.error {
    color: #dc3545;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
}


/* Footer link styling */
.footer-text a {
    color: white;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.85rem; /* Smaller text */
}

.footer-text a:hover {
    color: var(--tobin-gold);
    text-decoration: underline;
}

.footer-text strong {
    color: var(--tobin-gold);
    font-weight: 600;
}

/* Footer adjustments */
.footer {
    margin-top: 3rem; /* More space above footer */
    padding: 1.5rem 2rem; /* More padding */
}

.footer-text {
    font-size: 0.85rem; /* Smaller footer text */
    line-height: 1.4;
}


/* Tronic logo styling */
.tronic-logo {
    height: 24px;
    width: auto;
    margin-right: 8px;
    vertical-align: middle;
    /* Remove the white filter to show original logo colors */
}

