/* Custom Styles for Link Manager */

/* Global Styles */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

html, body {
    height: 100%;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.main-content, .hero, .features-section, .use-cases, .stats-section {
    flex: 1 0 auto;
}

/* Custom Button Styles */
.btn-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

/* Card Styles */
.card-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card-custom:hover {
    transform: translateY(-5px);
}

/* Link Item Styles */
.link-item-custom {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: block;
}

.link-item-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
    color: #333;
    text-decoration: none;
}

/* Protection Badge Styles */
.protection-badge-custom {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-weight: 500;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

/* Loading Spinner */
.spinner-custom {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .card-custom {
        margin-bottom: 1rem;
    }
    
    .link-item-custom {
        padding: 1rem;
    }
}

@media (max-width: 600px) {
    .welcome-card {
        max-width: 100%;
        width: 100vw;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 1.5rem 0.5rem;
    }
    footer {
        font-size: 1rem;
        padding: 1.2rem 0 1rem 0;
    }
}

/* Custom Form Styles */
.form-control-custom {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Alert Styles */
.alert-custom {
    border-radius: 10px;
    border: none;
    padding: 1rem 1.5rem;
}

/* Table Styles */
.table-custom {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.table-custom thead th {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    font-weight: 600;
}

/* Navigation Styles */
.navbar-custom {
    background: linear-gradient(135deg, var(--dark-color) 0%, #495057 100%) !important;
}

.sidebar-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

/* Profile Styles */
.profile-avatar-custom {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 3rem;
    color: white;
    backdrop-filter: blur(10px);
}

/* Statistics Styles */
.stats-card-custom {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.stats-card-custom:hover {
    transform: translateY(-5px);
}

.stats-icon-custom {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Verification Styles */
.verify-card-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 0 auto;
}

.countdown-display-custom {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0;
}

/* Social Share Styles */
.social-share-custom .btn {
    margin: 0 0.25rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-share-custom .btn:hover {
    transform: scale(1.1);
}

/* Footer Styles */
footer {
    flex-shrink: 0;
    position: relative;
    left: 0;
    bottom: 0;
    width: 100vw;
    text-align: center;
    background: #f8f9fa;
    color: #222;
    padding: 1.5rem 0 1rem 0;
    font-size: 1rem;
    border-top: 1px solid #e0e0e0;
    z-index: 10;
    clear: both;
    display: block;
    box-sizing: border-box;
}

footer a {
    color: #3366cc;
    text-decoration: underline;
    margin: 0 0.5em;
}

footer a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .print-only {
        display: block !important;
    }
    
    body {
        background: white !important;
    }
    
    .card-custom {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

.welcome-card {
    background: rgba(255,255,255,0.97);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    padding: 2.5rem 2rem;
    max-width: 480px;
    margin: 2rem auto;
}
.welcome-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.register-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}
.btn-cancel {
    background: #f5f5f5;
    color: #dc3545;
    border: 1px solid #e0e0e0;
    transition: background 0.2s, color 0.2s;
}
.btn-cancel:hover, .btn-cancel:focus {
    background: #ffeaea;
    color: #a71d2a;
    border-color: #dc3545;
}

/* Sidebar Navigation Active State */
.sidebar .nav-link.active {
    background: #fff;
    color: var(--primary-color) !important;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(102,126,234,0.08);
    position: relative;
}
.sidebar .nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    bottom: 10%;
    width: 4px;
    background: var(--primary-color);
    border-radius: 4px;
}
.sidebar .nav-link {
    color: #1976d2;
    font-weight: 500;
    margin-bottom: 0.5rem;
    transition: background 0.2s, color 0.2s;
    position: relative;
}
.sidebar .nav-link:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
} 