/* Main Container */
.rw-pro-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    color: #333;
    background: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.rw-pro-title {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #3498db;
}

/* Tabs */
.rw-pro-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.rw-pro-tab {
    padding: 12px 20px;
    background: #f1f1f1;
    border: none;
    border-radius: 5px 5px 0 0;
    margin-right: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.rw-pro-tab.active {
    background: #3498db;
    color: white;
}

.rw-pro-tab-content {
    display: none;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 0 0 5px 5px;
    background: #f9f9f9;
}

.rw-pro-tab-content.active {
    display: block;
}

/* Form Styles */
.rw-pro-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.rw-pro-form-section {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.rw-pro-form-section h3 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.rw-pro-form-group {
    margin-bottom: 15px;
}

.rw-pro-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #34495e;
}

.rw-pro-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.rw-pro-input:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52,152,219,0.2);
}

.rw-pro-form-actions {
    grid-column: span 2;
    text-align: center;
    margin-top: 20px;
}

.rw-pro-button {
    padding: 12px 25px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    margin: 0 10px;
    transition: background 0.3s;
}

.rw-pro-button.secondary {
    background: #95a5a6;
}

.rw-pro-button:hover {
    background: #2980b9;
}

.rw-pro-button.secondary:hover {
    background: #7f8c8d;
}

/* Results Styles */
.rw-pro-results-summary {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.rw-pro-results-summary h2 {
    color: #2c3e50;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.rw-pro-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.rw-pro-result-card {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #3498db;
}

.rw-pro-result-card h3 {
    margin-top: 0;
    color: #2c3e50;
}

.rw-pro-result-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rw-pro-result-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #ecf0f1;
    display: flex;
    justify-content: space-between;
}

.rw-pro-result-label {
    font-weight: 600;
    color: #34495e;
}

.rw-pro-result-value {
    color: #e74c3c;
    font-weight: 600;
}

.rw-pro-result-value.pass {
    color: #27ae60;
}

.rw-pro-result-value.fail {
    color: #e74c3c;
}

.rw-pro-status-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-left: 5px;
    background: currentColor;
}

.rw-pro-results-charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.rw-pro-chart-container {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Calculations Styles */
.rw-pro-calculations-details {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.rw-pro-calculations-details h2 {
    color: #2c3e50;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.rw-pro-calculation-section {
    margin-bottom: 30px;
}

.rw-pro-calculation-section h3 {
    color: #2c3e50;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.rw-pro-calculation-content {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
    margin-top: 10px;
}

/* Drawing Styles */
.rw-pro-drawing-container {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-align: center;
}

#rw-pro-wall-canvas {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    background: white;
}

.rw-pro-dimensions {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
}

/* Loading States */
.rw-pro-loading {
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .rw-pro-form {
        grid-template-columns: 1fr;
    }
    
    .rw-pro-form-actions {
        grid-column: span 1;
    }
    
    .rw-pro-results-grid {
        grid-template-columns: 1fr;
    }
    
    .rw-pro-results-charts {
        grid-template-columns: 1fr;
    }
}