* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 54px;
    font-weight: 600;
    color: #2c3766;
    text-align: center;
}

.container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    gap: 40px;
}

.calculator-section, .results-section {
    flex: 1;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.marketplace-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 10px;
    flex-wrap: wrap;
}

.tab {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    border: 2px solid #dddddd;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 10px;
}

.tab:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.tab.active {
    border-color: #4a5af8;
    box-shadow: 0 0 0 3px rgba(74, 90, 248, 0.2);
}

.marketplace-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
    color: #2c3766;
    text-align: center;
}

.instruction-text {
    margin: 30px 0;
    line-height: 1.6;
    color: #555555;
    text-align: center;
    font-size: 1.1rem;
}

p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555555;
}

#calculate-btn {
    background-color: #4a5af8;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s;
    width: 100%;
    margin-top: auto;
}

#calculate-btn:hover {
    background-color: #3b49d9;
}

.metrics {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.metric-box {
    flex: 1;
}

.metric-box label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: #555555;
}

.metric-box input {
    width: 100%;
    padding: 12px 15px;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    color: #333333;
    font-size: 1.2rem;
    border-radius: 4px;
}

.manual-calculate {
    margin-top: auto;
    padding-top: 20px;
}

.results-section {
    background-color: #ffffff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.results-header {
    margin-bottom: 20px;
}

#gross-revenue {
    font-size: 1.5rem;
    text-align: right;
    margin-bottom: 5px;
    color: #2c3766;
}

.revenue-label {
    text-align: right;
    margin-bottom: 0;
    color: #777777;
    font-size: 0.9rem;
}

.breakdown {
    margin-top: auto;
    border-top: 1px solid #dddddd;
    padding-top: 20px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #dddddd;
}

.breakdown-item:last-child {
    border-bottom: none;
}

.breakdown-item.no-border {
    border-bottom: none;
}

.payment-processor-container {
    position: relative;
    display: flex;
    align-items: center;
}

.payment-processor-row {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-processor-logo-container {
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
    vertical-align: middle;
}

.payment-processor-logo {
    height: 50px;
    max-width: 100px;
    object-fit: contain;
}

.cycle-btn {
    background-color: #4a5af8;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
    margin-left: 10px;
    flex-shrink: 0;
}

.cycle-btn:hover {
    background-color: #3b49d9;
    transform: scale(1.1);
}

.net-profit {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #dddddd;
    font-weight: bold;
    font-size: 2.2rem;
    color: #2c3766;
}

/* Add style for bold percentage numbers */
.breakdown-label .percentage-value {
    font-weight: bold;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    #gross-revenue {
        font-size: 2.5rem;
    }
} 