/* Auth Pages */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.auth-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-box h1 {
    color: white;
    text-align: center;
    margin-bottom: 30px;
}

/* Dashboard Layout */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.sidebar {
    width: 280px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-summary {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-summary img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #4CAF50;
    margin-bottom: 15px;
}

.profile-summary h3 {
    color: white;
    margin-bottom: 5px;
}

.profile-summary p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 5px;
    transition: all 0.3s;
}

.sidebar-nav a i {
    width: 20px;
    margin-right: 10px;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.main-content {
    flex: 1;
    padding: 30px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    overflow-y: auto;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.content-header h1 {
    color: white;
    margin: 0;
}

/* Form Styles */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: white;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: white;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-edit,
.btn-delete {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-primary {
    background: #4CAF50;
    color: white;
}

.btn-primary:hover {
    background: #45a049;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-edit,
.btn-delete {
    padding: 8px 12px;
    font-size: 0.9rem;
    margin-left: 5px;
}

.btn-edit {
    background: #2196F3;
    color: white;
}

.btn-delete {
    background: #f44336;
    color: white;
}

/* Links List */
.links-list {
    display: grid;
    gap: 15px;
}

.link-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.link-info {
    display: flex;
    align-items: center;
}

.link-info i {
    font-size: 1.5rem;
    color: #4CAF50;
    margin-right: 15px;
}

.link-info h3 {
    color: white;
    margin-bottom: 3px;
}

.link-info small {
    color: rgba(255, 255, 255, 0.5);
}

.link-actions {
    display: flex;
    align-items: center;
}

.status {
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    margin-right: 10px;
}

.status.active {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.status.inactive {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

/* Alerts */
.alert {
    padding: 12px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-error {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid #f44336;
    color: #f44336;
}

.alert-success {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid #4CAF50;
    color: #4CAF50;
}

.no-links {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 5px;
}

/* Admin Tables */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.admin-table th,
.admin-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-table th {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-weight: 500;
}

.admin-table td {
    color: rgba(255, 255, 255, 0.8);
}

.admin-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}
/* Profile Tabs */
.profile-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.tab-btn {
    padding: 10px 20px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 1rem;
    border-radius: 5px;
    transition: all 0.3s;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.tab-btn.active {
    background: #4CAF50;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Plan Info */
.plan-info {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.plan-info h4 {
    color: white;
    margin-bottom: 15px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 5px;
    transition: width 0.3s;
}

.remaining {
    color: #4CAF50;
    font-weight: bold;
    margin-top: 5px;
}

.plan-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: 10px;
}

.plan-badge.premium {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid #ffc107;
}

.plan-badge.free {
    background: rgba(158, 158, 158, 0.2);
    color: #9e9e9e;
    border: 1px solid #9e9e9e;
}

.btn-upgrade {
    display: block;
    text-align: center;
    padding: 10px;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
    font-weight: bold;
    transition: transform 0.3s;
}

.btn-upgrade:hover {
    transform: translateY(-2px);
}

/* Profile Preview */
.profile-preview {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}