* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    min-height: 100vh;
    color: #fff;
    padding: 30px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    scroll-behavior: smooth;
}

/* গ্লোবাল ড্যাশবোর্ড চার্ট স্টাইল */
.dashboard-container {
    width: 100%;
    max-width: 700px;
    display: flex;
    gap: 15px;
    justify-content: space-between;
}

.dash-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 204, 0.3);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    flex: 1;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

.dash-title {
    font-size: 14px;
    color: #a8c7fa;
    margin-bottom: 10px;
    font-weight: bold;
}

.dash-value {
    font-size: 28px;
    color: #00ffcc;
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;
}

.admin-box, .list-box {
    background: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 100%;
    max-width: 700px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.admin-search-box {
    padding: 20px;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #00ffcc;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.2);
}

.form-group {
    margin-bottom: 15px;
}

.form-group-spaced {
    margin-bottom: 20px;
}

.margin-bottom-0 {
    margin-bottom: 0;
}

label {
    display: block;
    font-size: 13px;
    color: #a8c7fa;
    margin-bottom: 5px;
    font-weight: 600;
}

.label-highlight {
    font-size: 14px;
    color: #00ffcc;
}

.label-styled {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #a8c7fa;
}

.required-star {
    color: red;
}

input {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    transition: 0.3s;
}

input:focus {
    border-color: #00ffcc;
    outline: none;
    box-shadow: 0 0 8px rgba(0, 255, 204, 0.3);
}

.input-light {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    background-color: #ffffff;
    color: #333333;
}

.search-area {
    display: flex;
    gap: 10px;
    margin-bottom: 5px;
}

.btn-search {
    padding: 0 20px;
    background: #e67e22;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
}

.btn-search:hover {
    background: #d35400;
    transform: scale(1.02);
}

.btn-copy {
    background: #27ae60;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #00ffcc, #00a8cc);
    border: none;
    border-radius: 8px;
    color: #111;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 204, 0.4);
}

.btn-blue-submit {
    width: 100%;
    padding: 14px;
    background-color: #4e73df;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-blue-submit:hover {
    background-color: #2e59d9;
}

.status-msg {
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
    color: #2ecc71;
    font-weight: bold;
    min-height: 20px;
}

.status-message-box {
    text-align: center;
    margin-top: 15px;
    font-weight: 600;
    display: none;
    padding: 10px;
    border-radius: 6px;
}

/* টেবিল ও অ্যাকশন বাটন স্টাইল */
.table-responsive {
    overflow-x: auto;
}

.page-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.page-table th, .page-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
}

.page-table th {
    color: #00ffcc;
    font-weight: 600;
    background: rgba(0,0,0,0.2);
}

.page-table tr:hover {
    background: rgba(255,255,255,0.03);
}

.action-btns {
    display: flex;
    gap: 8px;
}

.btn-edit {
    background: #2ecc71;
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}

.btn-edit:hover {
    background: #27ae60;
    transform: scale(1.05);
}

.btn-delete {
    background: #e74c3c;
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}

.btn-delete:hover {
    background: #c0392b;
    transform: scale(1.05);
}

.truncate {
    max-width: 130px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.highlight-input {
    border: 1px solid #00ffcc !important;
    background: rgba(0, 255, 204, 0.05) !important;
    color: #00ffcc !important;
    font-weight: bold;
    font-size: 16px;
}

/* নতুন লিংক বক্সের স্টাইল */
.link-generator-box {
    background: rgba(0, 255, 204, 0.05);
    border: 1px dashed #00ffcc;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.generated-link-input {
    background: rgba(0,0,0,0.5) !important;
    color: #00d2ff !important;
    font-family: monospace;
}

.text-center-muted {
    text-align: center;
    color: #aaa;
}
