/* Styles specific to the UV-Vis calculator page */
.calculator {
   background: var(--bg-secondary);
   padding: 32px;
   border-radius: var(--radius-lg);
   margin: 30px 0;
   border: 2px solid var(--border-light);
}

.calculator h3 {
   margin-top: 0;
   border-bottom: none; /* Override section h2 style */
   margin-bottom: 20px;
}

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

.form-group label {
   display: block;
   font-weight: 600;
   margin-bottom: 8px;
}

.form-group input {
   width: 100%;
   padding: 12px;
   border: 1px solid var(--border-light);
   border-radius: var(--border-radius);
   font-size: 1rem;
   font-family: 'Courier New', monospace;
}

.form-group input:focus {
   outline: none;
   border-color: var(--primary-blue);
   box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.result-box {
   background: white;
   border: 2px solid var(--success);
   border-radius: var(--radius-sm);
   padding: 24px;
   margin-top: 20px;
}

.result-box h4 {
   margin-bottom: 16px;
}

.result-details {
   line-height: 1.8;
}

.result-value {
   background: var(--success);
   color: white;
   padding: 16px;
   border-radius: var(--border-radius);
   text-align: center;
   font-size: 1.5rem;
   font-weight: 700;
   margin: 20px 0;
   font-family: 'Courier New', monospace;
}

/* Example Boxes */
.example-box {
    background: var(--bg-secondary);
    border: var(--radius-sm) solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 20px 0;
}

.example-box h4 {
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.example-step {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.example-step:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Pro Tier Preview */
.pro-preview {
    background: var(--gradient-primary);
    color: white;
    padding: 40px;
    border-radius: 16px;
    margin: 40px 0;
    text-align: center;
}

.pro-preview h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: white;
}

.pro-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.pro-feature {
    background: rgba(255, 255, 255, 0.15);
    padding: 16px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}