/* Hacker Theme - Dark Terminal Style */


/* Global styles */
* {
    font-family: monospace !important;
}

p,strong,div{
    color: wheat !important;
}

.text-muted{
    color: rgba(245, 222, 179, 0.4) !important;
}

p.card-text{
    margin-bottom: 0px !important;
}
strong{
    font-weight:800;
    font-size: large;
}

input::placeholder, textarea::placeholder {
  color: rgba(245, 222, 179, 0.4) !important;
}

body {
    background-color: #0d1117 !important;
    color: wheat !important;
    background-image: 
        radial-gradient(circle at 1px 1px, #21262d 1px, transparent 0);
    background-size: 20px 20px;
    min-height: 100vh;
}

/* Terminal-like text glow effect */
.terminal-glow {
    text-shadow: 0 0 5px #39ff14, 0 0 10px #39ff14, 0 0 15px #39ff14;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #161b22 0%, #21262d 100%) !important;
    border-bottom: 2px solid #39ff14;
    box-shadow: 0 2px 10px rgba(57, 255, 20, 0.3);
}

.navbar-brand, .nav-link {
    color: #39ff14 !important;
    text-shadow: 0 0 5px #39ff14;
    transition: all 0.3s ease;
}

.navbar-brand:hover, .nav-link:hover {
    color: #ffffff !important;
    text-shadow: 0 0 10px #39ff14, 0 0 20px #39ff14;
}

/* Cards */
.card {
    background: linear-gradient(135deg, #161b22 0%, #21262d 100%) !important;
    border: 1px solid #30363d !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(57, 255, 20, 0.1) !important;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7), 0 0 30px rgba(57, 255, 20, 0.2) !important;
    border-color: #39ff14 !important;
}

.card-header {
    background: linear-gradient(135deg, #21262d 0%, #30363d 100%) !important;
    border-bottom: 1px solid #39ff14 !important;
    color: #39ff14 !important;
    text-shadow: 0 0 5px #39ff14;
}

.card-title {
    color: #39ff14 !important;
    text-shadow: 0 0 1px #39ff14;
}

/* Forms */
.form-control, .form-select {
    background-color: #21262d !important;
    border: 1px solid #30363d !important;
    color: #f0f6fc !important;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    background-color: #161b22 !important;
    border-color: #39ff14 !important;
    color: #f0f6fc !important;
    box-shadow: 0 0 0 0.2rem rgba(57, 255, 20, 0.25) !important;
    text-shadow: 0 0 5px #39ff14;
}

.form-label {
    color: #7d8590 !important;
    font-weight: 500;
}

.form-text {
    color: #6e7681 !important;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #238636 0%, #2ea043 100%) !important;
    border: 1px solid #39ff14 !important;
    color: #ffffff !important;
    text-shadow: 0 0 5px #000000;
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2ea043 0%, #39ff14 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(57, 255, 20, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, #30363d 0%, #484f58 100%) !important;
    border: 1px solid #6e7681 !important;
    color: #f0f6fc !important;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #484f58 0%, #6e7681 100%) !important;
    border-color: #8b949e !important;
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, #1a7f37 0%, #2da44e 100%) !important;
    border: 1px solid #39ff14 !important;
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, #cf222e 0%, #ff6b6b 100%) !important;
    border: 1px solid #ff4757 !important;
    box-shadow: 0 0 10px rgba(255, 71, 87, 0.3);
}

.btn-outline-primary {
    color: #39ff14 !important;
    border-color: #39ff14 !important;
    background: transparent !important;
    z-index: 8;
}

.btn-outline-primary:hover {
    background: rgba(57, 255, 20, 0.1) !important;
    border-color: #39ff14 !important;
    color: #39ff14 !important;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.4);
}

.btn-outline-info {
    color: #58a6ff !important;
    border-color: #58a6ff !important;
    background: transparent !important;
}

.btn-outline-info:hover {
    background: rgba(88, 166, 255, 0.1) !important;
    border-color: #58a6ff !important;
    color: #58a6ff !important;
    box-shadow: 0 0 15px rgba(88, 166, 255, 0.4);
}

/* Alerts */
.alert-danger {
    background-color: rgba(248, 81, 73, 0.1) !important;
    border-color: #f85149 !important;
    color: #ff7b72 !important;
}

.alert-success {
    background-color: rgba(46, 160, 67, 0.1) !important;
    border-color: #2ea043 !important;
    color: #7ee787 !important;
}

.alert-warning {
    background-color: rgba(187, 128, 9, 0.1) !important;
    border-color: #bb8009 !important;
    color: #f2cc60 !important;
}

.alert-info {
    background-color: rgba(88, 166, 255, 0.1) !important;
    border-color: #58a6ff !important;
    color: #79c0ff !important;
}

/* Tables */
.table {
    color: #f0f6fc !important;
}

.table-striped > tbody > tr > td {
    background-color: rgba(33, 38, 45, 0.5) !important;
}

.table th {
    border-color: #30363d !important;
    color: #39ff14 !important;
    text-shadow: 0 0 5px #39ff14;
    background-color: rgba(33, 38, 45, 0.5) !important;
}

.table td {
    border-color: #21262d !important;
    color: wheat;
}

/* Badges */
.badge {
    text-shadow: none !important;
}

.badge.bg-secondary {
    background-color: #6e7681 !important;
}

.badge.bg-success {
    background-color: #2ea043 !important;
}

/* Contact header */
.contact-header {
    background: linear-gradient(135deg, #161b22 0%, #21262d 50%, #30363d 100%) !important;
    border-bottom: 2px solid #39ff14;
    box-shadow: 0 4px 20px rgba(57, 255, 20, 0.2);
}

/* Search container */
.search-container {
    background: linear-gradient(135deg, #161b22 0%, #21262d 100%) !important;
    border: 1px solid #30363d !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 20px rgba(57, 255, 20, 0.1);
}

/* Info cards */
.info-card {
    border-left: 3px solid #39ff14 !important;
}

/* Pagination */
.pagination .page-link {
    background-color: #21262d !important;
    border-color: #30363d !important;
    color: #f0f6fc !important;
}

.pagination .page-link:hover {
    background-color: #30363d !important;
    border-color: #39ff14 !important;
    color: #39ff14 !important;
}

.pagination .page-item.active .page-link {
    background-color: #39ff14 !important;
    border-color: #39ff14 !important;
    color: #000000 !important;
}

/* Modal */
.modal-content {
    background-color: #161b22 !important;
    border: 1px solid #30363d !important;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8);
}

.modal-header {
    border-bottom: 1px solid #30363d !important;
}

.modal-footer {
    border-top: 1px solid #30363d !important;
}

/* Code elements */
code {
    background-color: #161b22 !important;
    color: #79c0ff !important;
    border: 1px solid #30363d !important;
    text-shadow: 0 0 5px #79c0ff;
}

/* Contact cards hover effect */
.contact-card {
    transition: all 0.3s ease;
}

.contact-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 40px rgba(57, 255, 20, 0.2) !important;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #161b22;
}

::-webkit-scrollbar-thumb {
    background: #30363d;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #39ff14;
}

/* Profile images with terminal glow */
img.rounded-circle, img.rounded {
    border: 2px solid #39ff14;
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

/* Form check elements */
.form-check-input:checked {
    background-color: #39ff14 !important;
    border-color: #39ff14 !important;
}

.form-check-label {
    color: #f0f6fc !important;
}

/* Terminal typing animation */
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #39ff14 }
}

.typing-animation {
    overflow: hidden;
    border-right: 3px solid #39ff14;
    white-space: nowrap;
    animation: typing 2s steps(40, end), blink-caret 1s step-end infinite;
}

/* Login page specific styles */
.login-container .card {
    background: rgba(22, 27, 34, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 1px solid #39ff14 !important;
    box-shadow: 0 0 50px rgba(57, 255, 20, 0.3);
}

/* Social links with glow effects */
.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    text-shadow: 0 0 10px currentColor;
    transform: scale(1.2);
}

/* Dark theme for select2 if used */
.select2-container--default .select2-selection--single {
    background-color: #21262d !important;
    border: 1px solid #30363d !important;
    color: #f0f6fc !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-header h1 {
        font-size: 1.5rem;
    }
    
    .search-container {
        padding: 1rem !important;
    }
    
    .contact-card:hover {
        transform: translateY(-2px) scale(1.01);
    }
}
