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

body {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.logo {
    max-width: 90;
}

.container {
    width: 100%;
    max-width: 900px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.header {
    background: linear-gradient(to right, #2c3e50, #4a6491);
    color: white;
    padding: 25px;
    text-align: center;
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.selector-container {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    gap: 30px;
}

.option-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 280px;
    padding: 30px 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.option-icon {
    font-size: 50px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.comercio-icon {
    color: #2c3e50;
}

.comprador-icon {
    color: #2c3e50;
}

.option-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #2c3e50;
}

.option-desc {
    color: #7f8c8d;
    font-size: 0.95rem;
}

.calculator {
    display: none;
    padding: 30px;
}

.calculator.active {
    display: block;
}

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

.calculator-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #2c3e50;
}

input[type="number"], input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
    text-align: left;
}

select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
    text-align: left;
}

input[type="number"]:focus, select:focus, input[type="text"]:focus {
    border-color: #3498db;
    outline: none;
}

button.calculate {
    display: block;
    width: 100%;
    padding: 14px;
    background: linear-gradient(to right, #2ecc71, #27ae60);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 25px;
    transition: all 0.3s;
}

button.calculate:hover {
    background: linear-gradient(to right, #27ae60, #219653);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.mensaje {
    color:#333;
    text-align: right;
}

.enlace {
    text-decoration: none;
    color: #444;
    font-weight: bold;
}

.result {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(to right, #e8f4fc, #d8e9f8);
    border-radius: 10px;
    display: none;
}

.result h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.4rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #aab7c2;
}

.result-total {
    font-weight: bold;
    font-size: 1.3rem;
    color: #2c3e50;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #3498db;
}

.back-button {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.back-button:hover {
    text-decoration: underline;
}

.info-text {
    text-align: center;
    margin-top: 20px;
    color: #7f8c8d;
    font-style: italic;
}

.share-section {
    margin: 30px 0;
    text-align: center;
    position: relative;
    display: block;
}

.share-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-width: 70px;
}

.share-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.share-button i {
    margin-right: 0px;
    font-size: 1.2rem;
}

.whatsapp {
    background: #25D366;
}

.whatsapp:hover {
    background: #128C7E;
}

.facebook {
    background: #3b5998;
}

.facebook:hover {
    background: #2d4373;
}

.instagram {
    background: #E1306C;
}

.instagram:hover {
    background: #C13584;
}

@media (max-width: 768px) {
    .selector-container {
        flex-direction: column;
        align-items: center;
    }
    
    .option-card {
        width: 100%;
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .share-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .share-button {
        width: 100%;
    }
}