/* Estilos para ShortLink Simple */

:root {
    --primary-color: #DA291C;
    --secondary-color: #F65041;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --dark-color: #3c3c3c;
    --light-color: #f4f4f4;
    --light-color-secondary: #dbdbdb;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, --light-color 0%, --light-color-secondary 100%);
    min-height: 100vh;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.navbar-custom {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary-custom {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #fff;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.4);
    color:#fff
}

.card-custom {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}


.form-control-custom {
    border-radius: 15px;
    border: 2px solid #e5e7eb;
    padding: 15px 20px;
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.link-item {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.link-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.copy-btn {
    background: var(--success-color);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 8px 15px;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: #059669;
    transform: scale(1.05);
}

.alert-custom {
    border-radius: 15px;
    border: none;
    padding: 15px 55px 15px 25px;
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: slideInDown 0.3s ease-out;
    position: fixed!important;
    z-index: 999991000;
    max-width: 99vw!important;
    right: 0;
    margin-right: 20px;
}

.alert-custom .btn-close {
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.alert-custom .btn-close:hover {
    opacity: 1;
}

@keyframes slideInDown {
    from {
        transform: translate3d(0, -100%, 0);
        opacity: 0;
    }
    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

.alert-custom.fade-out {
    animation: fadeOut 0.3s ease-out forwards;
}

/* Estilos para modal de confirmación */
.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header.bg-danger {
    border-radius: 15px 15px 0 0;
}

.modal-footer {
    border-radius: 0 0 15px 15px;
    border-top: 1px solid #dee2e6;
}

.modal-body .alert {
    border-radius: 10px;
    border: none;
}

.modal-body .fas.fa-trash-alt {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Estilos para alertas flotantes */
.alert.position-fixed {
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.gtm-section {
    background: #ffffff;
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    border-left: 4px solid var(--primary-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45d, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin: 0 auto 20px;
}
.loginCard{
    justify-content: center !important;
    max-width: 400px;
    width: 100%;
    background: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .btn-primary-custom {
        padding: 10px 20px;
        font-size: 14px;
        color: #fff;
    }
    
    .card-custom {
        margin: 10px 0;
    }
    
    .link-item {
        padding: 15px;
    }
    .loginCard{
    justify-content: center !important;
    max-width: 360px;
    width: 100%;
}
}

/* Estados de secciones */
.section-hidden {
    display: none !important;
}

.section-visible {
    display: block !important;
}