/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

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

.hidden {
    display: none !important;
}

/* Navbar Styles */
.navbar {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0B9444;
    text-decoration: none;
}

.navbar-logo {
    height: 40px;
    width: auto;
}

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

.welcome-text {
    font-weight: 500;
}

.nav-button {
    padding: 8px 16px;
    background-color: #0B9444;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.nav-button:hover {
    background-color: #097a36;
}

/* Header Banner */
.main-header {
    background-color: #0B9444;
    color: white;
    padding: 40px 0 80px;
    text-align: center;
}

.main-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.main-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Main Content Sections */
main {
    padding: 40px 0;
}

/* Upload Section */
.upload-section {
    margin-bottom: 40px;
}

.upload-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 30px;
    margin-top: -60px;
    position: relative;
    border: 1px dashed #e0e0e0;
}

.upload-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.upload-header h2 {
    color: #0B9444;
    font-size: 1.5rem;
}

.upload-description {
    color: #666;
    margin-bottom: 30px;
}

.file-upload-area {
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    background-color: #fafafa;
    margin-bottom: 20px;
    transition: border-color 0.3s;
}

.file-upload-area:hover {
    border-color: #0B9444;
}

.upload-icon {
    margin-bottom: 15px;
}

.drop-text {
    font-weight: 500;
    margin-bottom: 10px;
}

.file-types {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.choose-file-btn {
    background-color: white;
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.choose-file-btn:hover {
    border-color: #0B9444;
    color: #0B9444;
}

#submitReport {
    background-color: #0B9444;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
}

#submitReport:hover {
    background-color: #097a36;
}

/* Info Callout Section */
.info-callout-section {
    margin-bottom: 40px;
}

.info-callout-container {
    background: linear-gradient(135deg, #0B9444 0%, #0dad51 100%);
    color: white;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(11, 148, 68, 0.2);
}

.info-callout-container h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.info-callout-container p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.6;
    opacity: 0.95;
}

.info-link {
    display: inline-block;
    padding: 10px 24px;
    background-color: white;
    color: #0B9444;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.info-link:hover {
    background-color: #FFA726;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Extract Section */
.extract-section {
    margin-bottom: 40px;
}

.extract-container {
    background-color: #FFF9F0;
    border-radius: 8px;
    padding: 30px;
    border: 1px solid #FFE8C8;
}

.extract-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.extract-header h2 {
    color: #F9A826;
    font-size: 1.5rem;
}

.extract-description {
    color: #666;
    margin-bottom: 30px;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.step-number {
    background-color: #FFA726;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.link-text {
    color: #0B9444;
    cursor: pointer;
    text-decoration: underline;
}

.info-container {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.info-section {
    flex: 1;
    min-width: 250px;
}

.info-section h4 {
    margin-bottom: 15px;
    color: #333;
}

.info-section ul {
    list-style-position: inside;
    color: #555;
}

.info-section li {
    margin-bottom: 8px;
}

.download-btn {
    background-color: #FFA726;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.download-btn:hover {
    background-color: #F57C00;
}

/* Existing Styles (Keep for functionality) */
.submission-portal{
    text-align: center;
}

#uploadForm{
    margin: 2em auto;
    padding: 2em;
    border-radius: 8px;
    background-color: lightgray;
    width: fit-content;
}

#vendorInput{
    padding-bottom: 5em;
}

.hidden {
    display: none;
}

#go-button-container{
    display:block;
}

/* Dashboard styles */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2em;
}

.dashboard-content {
    max-width: 800px;
    margin: 0 auto;
}

.member-selector {
    margin-bottom: 2em;
}

.member-selector select {
    padding: 0.5em;
    font-size: 1em;
    margin-left: 1em;
}

.stats-list {
    list-style-type: none;
    padding: 0;
}

.stats-list li {
    background-color: #f5f5f5;
    margin: 0.5em 0;
    padding: 1em;
    border-radius: 4px;
    border-left: 4px solid #007cba;
}

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 1em;
    text-align: center;
}

#dashboard-btn, #logout-btn {
    margin-left: 1em;
}

/* Value Alignment Styles */
.value-alignment-container {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.alignment-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.alignment-section h4 {
    margin-top: 0;
    color: #495057;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* Value Alignment Section */
.value-alignment-section {
    margin-top: 2rem;
    border-top: 1px solid #ddd;
    padding-top: 1rem;
}

.alignment-card {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Bar Chart Styles */
.bar-chart {
    width: 100%;
}

.chart-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.chart-label {
    width: 30%;
    font-size: 0.875rem;
}

.chart-bar-container {
    width: 50%;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.chart-bar {
    height: 20px;
    background-color: #4c6ef5;
    position: relative;
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0.5rem;
}

.chart-value {
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
}

.chart-amount {
    width: 20%;
    text-align: right;
    font-size: 0.875rem;
    color: #495057;
}

/* Category Chart */
.category-chart {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chart-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chart-label {
    width: 25%;
    font-size: 0.9rem;
}

.chart-bar-container {
    flex-grow: 1;
    background: #e0e0e0;
    height: 20px;
    border-radius: 4px;
    overflow: hidden;
}

.chart-bar {
    height: 100%;
    background: #4a6fdc;
    color: white;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0.5rem;
}

.chart-amount {
    width: 15%;
    text-align: right;
    font-size: 0.9rem;
}

/* Diversity Metrics Styles */
.diversity-metrics {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.metric {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.metric-title {
    font-weight: 600;
    font-size: 0.875rem;
}

.metric-value {
    font-size: 1.25rem;
    font-weight: bold;
    color: #495057;
}

.metric-bar {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.metric-progress {
    height: 100%;
    background-color: #40c057;
}

/* Diversity Stats */
.diversity-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.diversity-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.diversity-label {
    width: 25%;
    font-size: 0.9rem;
}

.progress-bar {
    flex-grow: 1;
    background: #e0e0e0;
    height: 20px;
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: #4caf50;
}

.percentage {
    width: 10%;
    text-align: right;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Match Modal Styles */
.match-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.match-modal-content {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 24px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.match-modal-content h3 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
}

.supplier-section {
    margin-top: 24px;
}

.supplier-section h4 {
    margin: 0 0 16px 0;
    color: #3498db;
}

.matches-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.match-option {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 6px;
    background-color: #f8f9fa;
    transition: background-color 0.2s;
}

.match-option:hover {
    background-color: #e9ecef;
}

.match-option input[type="radio"] {
    margin-right: 12px;
    transform: scale(1.2);
}

.match-option label {
    flex: 1;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.match-name {
    font-weight: 500;
}

.match-score {
    color: #6c757d;
    font-size: 0.9em;
}

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 16px;
}

.primary-btn, .secondary-btn {
    padding: 8px 16px;
    border-radius: 4px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.primary-btn {
    background-color: #0B9444;
    color: white;
}

.primary-btn:hover {
    background-color: #097a36;
}

.secondary-btn {
    background-color: #f1f1f1;
    color: #333;
}

.secondary-btn:hover {
    background-color: #e1e1e1;
}

/* Add this CSS class to the supplier model too */
.supplier-section {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Value Cards Styles - Add these to your CSS file */
.value-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.value-card {
    flex: 1;
    min-width: 250px;
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.value-icon {
    margin: 0 auto 15px;
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border-radius: 50%;
}

.value-card h3 {
    color: #333;
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.value-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.value-props-section {
    padding: 40px 0;
}

.cta-section {
    padding: 0 0 40px;
}

.cta-container {
    background-color: #0B9444;
    color: white;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
}

.cta-container h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.cta-container p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #FFA726;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.cta-button:hover {
    background-color: #F57C00;
    text-decoration: none;
}

/* Add responsive handling for the CTA section */
@media (max-width: 768px) {
    .cta-container {
        padding: 30px 20px;
    }

    .cta-container h2 {
        font-size: 1.5rem;
    }

    .cta-container p {
        font-size: 1rem;
    }
}

/* Terms Agreement Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 24px;
    width: 90%;
    max-width: 500px;
    animation: fadeIn 0.3s ease;
}

.modal-content h3 {
    margin-top: 0;
    color: #333;
    margin-bottom: 16px;
}

.modal-content p {
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Sign In Page Styles */
.signin-section {
    margin-bottom: 40px;
}

.signin-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 40px 30px;
    margin-top: -60px;
    position: relative;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.signin-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.signin-header h2 {
    color: #0B9444;
    font-size: 1.8rem;
    margin: 0;
}

.signin-description {
    color: #666;
    margin-bottom: 40px;
    text-align: center;
    font-size: 1.1rem;
}

.google-signin-area {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    background-color: #fafafa;
    margin-bottom: 30px;
}

.signin-icon {
    margin-bottom: 20px;
}

.signin-text {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
}

.google-signin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: white;
    color: #333;
    border: 1px solid #ddd;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-size: 1rem;
}

.google-signin-btn:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
    text-decoration: none;
    color: #333;
}

.signin-benefits {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.signin-benefits h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.signin-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.signin-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #555;
}

.signin-benefits li:last-child {
    margin-bottom: 0;
}

/* Privacy Section */
.privacy-section {
    margin-bottom: 40px;
}

.privacy-container {
    background-color: #FFF9F0;
    border-radius: 8px;
    padding: 30px;
    border: 1px solid #FFE8C8;
    max-width: 600px;
    margin: 0 auto;
}

.privacy-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.privacy-header h3 {
    color: #F9A826;
    font-size: 1.3rem;
    margin: 0;
}

.privacy-container p {
    color: #666;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 20px;
}

.privacy-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.privacy-link {
    color: #0B9444;
    text-decoration: underline;
    font-weight: 500;
}

.privacy-link:hover {
    color: #097a36;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .signin-container {
        margin-top: -40px;
        padding: 30px 20px;
    }

    .signin-header h2 {
        font-size: 1.5rem;
    }

    .privacy-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}
