/* Main styles for Gophish Frontend */

body {
    background-color: #f1f4f1 !important;
    font-size: 14px !important;
    color: #333333 !important;
}

/* Sørg for at branding altid har den korrekte farve */
.mz-top-nav a:first-child {
    color: #333333 !important;
    font-weight: bold;
    text-decoration: none;
}

.navbar {
    margin-bottom: 2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Isolering af template preview */
#previewFrame {
    all: initial; /* Reset alle styling properties for iframe indhold */
    display: block; /* Behold block display */
    width: 100%;
    border: 1px solid #D2D3D2;
    border-radius: 4px;
    min-height: 400px;
    padding: 1rem;
}

#previewFrame * {
    color: initial; /* Nulstil farver */
    font-family: initial; /* Nulstil font */
}

.preview-content {
    all: initial; /* Reset alle styling properties for preview-content */
    display: block; /* Behold block display */
    width: 100%;
    height: 100%;
}

.card {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.table {
    margin-bottom: 0;
}

.progress {
    height: 20px;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.text-danger {
    color: #dc3545;
}

/* Dashboard specific styles */
.dashboard-stats {
    text-align: center;
    padding: 20px 0;
}

.dashboard-stats .stat-value {
    font-size: 2.5rem;
    font-weight: bold;
}

.dashboard-stats .stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #6c757d;
} 

.bg-slate-800 {
    background-color: #333333 !important;
}
.bg-gray-50 {
    background-color: #75e5df !important;
}

body.bg-gray-50 {
    background-color: #f1f4f1 !important;
}

.text-gray-900, .text-gray-700, .text-gray-500 {
    color: #333333 !important;
}
.border-gray-200.bg-gray-50{
    background-color: #ffffff !important;
}
.bg-gray-200{
    background-color: #E4E8E4 !important;
}

.bg-gray-800 {
    background-color: #00AAA4 !important;
}

.mz-top-nav {
    background-color: #ffffff !important;
}

.mz-top-nav-link {
    color: #A5A8A5 !important;
    font-weight: normal !important;
}

.mz-top-nav-link.active {
    color: #333333 !important;
    font-weight: bold !important;
    border-bottom: 2px solid #00AAA4 !important;
}

.mz-top-nav-link:active {
    color: #333333 !important;
}

.mz-top-nav-link:hover {
    color: #333333 !important;
}

.rounded-lg {
    border-radius: 4px !important;
}

.shadow{
    border: 1px solid #D2D3D2 !important;
    box-shadow: none !important;
}

.mz-short-text{
    white-space: nowrap;      /* Forhindrer linjeskift */
    overflow: hidden;         /* Skjuler den overskydende tekst */
    text-overflow: ellipsis;  /* Tilføjer "..." */
    max-width: 200px;  
    }     
    
    input[type="text"], input[type="datetime-local"], textarea#html, textarea#text, input[type="email"], input[type="password"], input[type="url"]{
        border: 1px solid #D2D3D2 !important;  
        padding: 8px 12px!important;
        border-radius: 4px !important;
    }
    input[type="text"]:focus{
        border: 1px solid #00AAA4 !important;  
    }
    input[type="text"]:focus{
        border: 1px solid #00AAA4 !important;  
    }

    #campaignSelector{
        border: 1px solid #D2D3D2 !important;
        border-radius: 4px !important;
        padding: 8px 12px !important;
    }

    .text-blue-800, .bg-blue-600{
        background-color: #00AAA4 !important;
        color: #ffffff !important;
    }

    .bg-green-100{
        background-color: #f1f4f1 !important;
        color: #00AAA4 !important;
    }


    .started_bg{
        background-color: #00AAA4 !important;
        color: #f1f4f1 !important;
    }
    .ended_bg{
        background-color: #F05F5A !important;
        color: #f1f4f1 !important;
    }

    .planned_bg{
        background-color: #F2DB5A !important;
        color: #f1f4f1 !important;
    }
    
    .test_bg{
        background-color: #ffaf5a !important;
        color: #f1f4f1 !important;
    }

    .mz-campaign-name{
        font-size: 16px;
        line-height: 1.1;
        font-weight: 600;
        color: #333333 !important;
    }

    a.mz-top-nav-link.active{
        color: #00AAA4 !important;
        border-bottom: 1px solid #00AAA4 !important;
    }


    .bg-green-600, .bg-emerald-500{
        background-color: #00AAA4 !important;
        color: #ffffff !important;
    }

    .border-green-500{
        border-color: #00AAA4 !important;
    }

    .text-green-700{
        color: #00AAA4 !important;
    }