/* assets/css/style.css - Complete Stylesheet */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5;
    color: #333;
}

/* Dashboard Container */
.dashboard-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.dashboard-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.nav-btn-primary {
    background: #4a5fc1;
    border-color: #4a5fc1;
}

.logo img {
    height: 50px;
}

/* Navigation Menu */
.dashboard-nav {
    background: #2c3e50;
    padding: 0;
    display: flex;
    justify-content: space-around;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-menu-btn {
    flex: 1;
    background: transparent;
    color: white;
    border: none;
    padding: 15px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    border-bottom: 3px solid transparent;
}

.nav-menu-btn:hover {
    background: rgba(255,255,255,0.1);
}

.nav-menu-btn.active {
    background: #3498db;
    border-bottom-color: #2980b9;
}

.nav-menu-profile {
    background: #f39c12;
}

.nav-menu-profile:hover {
    background: #e67e22;
}

.nav-menu-links {
    background: #27ae60;
}

.nav-menu-links:hover {
    background: #229954;
}

.nav-menu-logout {
    background: #e74c3c;
}

.nav-menu-logout:hover {
    background: #c0392b;
}

/* Main Content */
.dashboard-main {
    flex: 1;
    padding: 30px 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Circular Button */
.exchange-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    padding: 20px;
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.circular-button {
    position: relative;
    width: 300px;
    height: 300px;
    cursor: pointer;
    transition: transform 0.3s;
}

.circular-button:hover {
    transform: scale(1.05);
}

.circle-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 1;
}

.circle-text {
    color: white;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}

.progress-ring-circle {
    transition: stroke-dashoffset 0.5s;
    transform-origin: 50% 50%;
}

/* Statistics Table */
.stats-container {
    margin: 30px 0;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
}

.stats-table thead {
    background: #34495e;
    color: white;
}

.stats-table th {
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
}

.stats-table td {
    padding: 20px;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
}

/* Instructions Box */
.instructions-box {
    background: #e8f4f8;
    border: 2px solid #3498db;
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
}

.instructions-box h3 {
    color: #2980b9;
    font-size: 22px;
    margin-bottom: 15px;
}

.instructions-box p {
    margin: 10px 0;
    font-size: 16px;
    line-height: 1.6;
}

.reminder {
    background: #fff9e6;
    border-left: 4px solid #f39c12;
    padding: 15px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.reminder .icon {
    font-size: 24px;
}

/* Profile Container */
.profile-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.profile-container h2, .profile-container h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.profile-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.profile-table tr {
    border-bottom: 1px solid #ecf0f1;
}

.profile-table td {
    padding: 15px;
    font-size: 15px;
}

.profile-table td:first-child {
    width: 30%;
    color: #7f8c8d;
}

.badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
}

.badge-success {
    background: #d4edda;
    color: #155724;
}

.badge-warning {
    background: #fff3cd;
    color: #856404;
}

/* Forms */
.update-profile-section, .add-link-form {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-top: 20px;
}

.profile-form, #addLinkForm {
    max-width: 600px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #dfe6e9;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn-success {
    background: #27ae60;
    color: white;
}

.btn-success:hover {
    background: #229954;
}

.btn-warning {
    background: #f39c12;
    color: white;
}

.btn-warning:hover {
    background: #e67e22;
}

.btn-danger {
    background: #e74c3c;
    color: white;
}

.btn-danger:hover {
    background: #c0392b;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 13px;
}

/* Links Management */
.links-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.links-info {
    text-align: center;
    margin-bottom: 30px;
}

.links-info p {
    margin: 10px 0;
    font-size: 16px;
}

.links-info .bangla {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

.links-count {
    font-size: 28px;
    font-weight: 700;
    color: #3498db;
    margin: 15px 0;
}

.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin: 20px 0;
    font-weight: 600;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* Links Table */
.links-table-container {
    overflow-x: auto;
    margin-top: 30px;
}

.links-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.links-table thead {
    background: #34495e;
    color: white;
}

.links-table th {
    padding: 15px;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
}

.links-table td {
    padding: 15px;
    border-bottom: 1px solid #ecf0f1;
}

.link-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #dfe6e9;
    border-radius: 5px;
    font-size: 14px;
}

.actions-cell {
    display: flex;
    gap: 10px;
}

.text-center {
    text-align: center;
}

/* Footer */
.dashboard-footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

/* Auth Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.auth-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 450px;
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.auth-box h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
}

.auth-box p {
    text-align: center;
    margin-top: 20px;
}

.auth-box a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.auth-box a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-nav {
        flex-wrap: wrap;
    }
    
    .nav-menu-btn {
        flex: 1 1 50%;
    }
    
    .circular-button {
        width: 250px;
        height: 250px;
    }
    
    .circle-content {
        width: 230px;
        height: 230px;
    }
    
    .circle-text {
        font-size: 16px;
    }
    
    .stats-table td {
        font-size: 24px;
        padding: 15px 10px;
    }
    
    .actions-cell {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .dashboard-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}