/* element_eng/brick.css */
#wb_brick_container {
    padding: 40px 20px;
    background-color: #f4f7f6;
    min-height: 400px;
}

.calculator-card {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.icon-main {
    font-size: 60px;
    color: #e67e22;
    margin-bottom: 15px;
}

.header h1 {
    font-size: 2rem;
    color: #2c3e50;
    margin: 0 0 10px 0;
}

.header p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

.input-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.input-section h3 {
    font-size: 1.2rem;
    color: #34495e;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.grid-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.input-group label {
    display: block;
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 8px;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ecf0f1;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: #e67e22;
    outline: none;
}

.result-section {
    margin-top: 40px;
    text-align: center;
}

.result-box {
    background: #fff3e0;
    padding: 30px;
    border-radius: 15px;
    display: inline-block;
    min-width: 250px;
    border: 2px solid #ffe0b2;
}

.result-label {
    display: block;
    color: #e65100;
    font-weight: bold;
    margin-bottom: 10px;
}

.result-value {
    font-size: 3rem;
    color: #e67e22;
    font-weight: 800;
}

[dir="rtl"] .input-section h3 {
    flex-direction: row-reverse;
}
