/* Main Container */
.ctr-calculator-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 25px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.ctr-calculator-container h2 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 25px;
    font-size: 28px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.ctr-calculator-container h3 {
    color: #2c3e50;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 22px;
}

/* Input Groups */
.ctr-input-group {
    margin-bottom: 20px;
}

.ctr-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #34495e;
}

.ctr-input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #dfe6e9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.ctr-input-group input:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

/* Buttons */
.ctr-button {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.ctr-button i {
    margin-right: 8px;
}

.ctr-button.calculate {
    background-color: #2ecc71;
    color: white;
}

.ctr-button.reset {
    background-color: #e74c3c;
    color: white;
}

.ctr-button.copy {
    background-color: #3498db;
    color: white;
    padding: 8px 15px;
    margin-left: 10px;
}

.ctr-button.email {
    background-color: #9b59b6;
    color: white;
}

.ctr-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ctr-button:active {
    transform: translateY(0);
}

.ctr-actions {
    margin: 25px 0;
    display: flex;
    justify-content: center;
}

/* Results */
.ctr-result {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.ctr-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
}

.ctr-result-item span:first-child {
    font-weight: 600;
    color: #2c3e50;
}

#ctr-value {
    font-weight: 700;
    color: #e74c3c;
    font-size: 24px;
}

/* Email Section */
.ctr-email-section {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
}

#ctr-email-status {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    display: none;
}

#ctr-email-status.success {
    background-color: #d4edda;
    color: #155724;
    display: block;
}

#ctr-email-status.error {
    background-color: #f8d7da;
    color: #721c24;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ctr-calculator-container {
        padding: 15px;
    }
    
    .ctr-actions {
        flex-direction: column;
    }
    
    .ctr-button {
        width: 100%;
        margin-bottom: 10px;
        margin-right: 0;
    }
}