body {
    background: linear-gradient(135deg, #fff 0%, #babfc2 100%);
    background-image: url(fondo-claro.png);
    background-size: cover;
    color: #2f3b4a;
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    min-height: 100vh;
}

.navbar {
    background: rgba(255, 255, 255, 0.92);
    border: none;
    box-shadow: 0 8px 20px rgba(15, 32, 62, 0.08);
    margin-bottom: 0;
}

.navbar-brand {
    font-weight: 600;
    letter-spacing: 0.03em;
}

.app-header {
    padding: 48px 0 24px;
    text-align: center;
}

.app-header h1 {
    font-size: 48px;
    font-weight: 200;
    margin-bottom: 12px;
    color: #1d2e4a;
}
.app-header .container .logo{
    width: 120px;
}

.app-header p {
    color: #4a5a6c;
    font-size: 16px;
    max-width: 640px;
    margin: 0 auto;
}

.generator-layout {
    padding-bottom: 48px;
}

.editor-card,
.preview-card {
    background: rgba(255, 255, 255, 0.45);
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(22, 36, 72, 0.12);
    margin-bottom: 32px;
    padding: 32px;
    position: relative;
}

.editor-card h2,
.preview-card h2 {
    font-size: 22px;
    font-weight: 600;
    color: #1d2e4a;
    margin-bottom: 12px;
}

.editor-card form {
    margin: 0;
}

.section-subtitle {
    color: #6b7b8d;
    font-size: 14px;
    margin-bottom: 24px;
}

.editor-card label {
    color: #314355;
    font-weight: 500;
}

.form-control {
    border-radius: 10px;
    border: 1px solid #cdd7e3;
    box-shadow: none;
    height: 44px;
    padding: 10px 14px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus {
    border-color: #f68625;
    box-shadow: 0 0 0 3px rgba(246, 134, 37, 0.16);
}

.show-social-toggle {
    display: flex;
    align-items: center;
    background: rgba(246, 134, 37, 0.05);
    border-radius: 12px;
    padding: 14px 16px;
    margin-top: 12px;
    color: #425166;
    cursor: pointer;
    transition: background 0.2s ease;
}

.show-social-toggle input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.show-social-toggle span {
    font-size: 14px;
    font-weight: 500;
}

.show-social-toggle:hover {
    background: rgba(246, 134, 37, 0.16);
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}


.editor-heading h2 {
    margin: 0 0 4px;
}

.preview-heading h2 {
    margin: 0 0 4px;
}

.preview-header p {
    margin: 0;
    color: #5a6a7a;
    font-size: 14px;
}

.copy-button {
    align-self: flex-start;
    background: #f68625;
    border: none;
    border-radius: 9px;
    color: #ffffff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 10px 20px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.copy-button .copy-icon {
    width: 16px;
    height: 16px;
}

.copy-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(246, 134, 37, 0.25);
}

.copy-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(246, 134, 37, 0.3);
}

.copy-button.copied {
    background: #73c5a3;
    box-shadow: 0 10px 20px rgba(58, 185, 126, 0.25);
}

.signature-preview {
    background: rgba(223,225,224, 0.10);
    border-radius: 14px;
    border: 1px solid rgba(78, 126, 255, 0.15);
    padding: 24px;
}

.signature-copy-note {
    color: #6b7b8d;
    font-size: 13px;
    margin-bottom: 14px;
}

.signature-html {
    background: #ffffff;
    border-radius: 12px;
    border: 1px dashed rgba(47, 73, 133, 0.32);
    padding: 24px;
    overflow-x: auto;
}

.signature-html::-webkit-scrollbar {
    height: 6px;
}

.signature-html::-webkit-scrollbar-thumb {
    background: rgba(79, 124, 255, 0.4);
    border-radius: 3px;
}

.signature-footer-note {
    color: #5a6a7a;
    font-size: 14px;
    margin-top: 20px;
}

footer.generator-footer {
    text-align: center;
    color: #5b6d80;
    padding: 24px 0 48px;
    font-size: 13px;
}

@media (max-width: 992px) {
    .preview-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .copy-button {
        margin-top: 12px;
    }
}

@media (max-width: 767px) {
    .editor-card,
    .preview-card {
        padding: 24px 20px;
    }

    .signature-html {
        padding: 18px;
    }
}
