/* Main dashboard content area */
.main-content {
    margin-left: 240px;
    margin-top: 60px;
    padding: 2rem;
    min-height: calc(100vh - 60px);
}

.welcome-section {
    margin-bottom: 2rem;
}

.welcome-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.welcome-subtitle {
    color: #909090;
    font-size: 1rem;
}

/* Status cards grid */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.status-card {
    background: #2a2a2a;
    border: 1px solid #454545;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.status-card:hover {
    border-color: #ff6161;
    box-shadow: 0 4px 20px rgba(255, 97, 97, 0.1);
    transform: translateY(-2px);
}

.status-card.clickable {
    cursor: pointer;
}

.status-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ff6161;
    margin-bottom: 0.5rem;
}

.status-label {
    font-size: 0.85rem;
    color: #909090;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Product section */
.product-section {
    background: #2a2a2a;
    border: 1px solid #454545;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.product-header {
    background: rgba(31, 31, 31, 0.8);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #454545;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.purchase-btn {
    background: linear-gradient(135deg, #ff6161, #cc1100);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.purchase-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 97, 97, 0.3);
}

/* Product table */
.product-table {
    width: 100%;
}

.product-table th,
.product-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #454545;
}

.product-table th {
    background: rgba(31, 31, 31, 0.5);
    color: #909090;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-table td {
    color: #909090;
}

.product-name {
    font-weight: 600;
    color: #ffffff;
}

.expires-date {
    color: #ff6161;
    font-weight: 500;
}

/* Download section */
.download-section {
    margin: 2rem 1.5rem 1.5rem 1.5rem;
    padding: 1.5rem;
    border-top: 1px solid #454545;
    background: rgba(31, 31, 31, 0.3);
    border-radius: 8px;
}

.download-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #2a2a2a;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    border: 1px solid #454545;
}

.download-name {
    color: #909090;
    font-weight: 500;
}

.download-btn {
    background: rgba(255, 97, 97, 0.1);
    color: #ff6161;
    border: 1px solid rgba(255, 97, 97, 0.3);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.download-btn:hover {
    background: rgba(255, 97, 97, 0.2);
    border-color: #ff6161;
}

.download-btn:disabled {
    background: #666;
    cursor: not-allowed;
    opacity: 0.5;
}

/* Form elements for Settings page */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    background: #1f1f1f;
    border: 1px solid #454545;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    color: #ffffff;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #ff6161;
    box-shadow: 0 0 0 3px rgba(255, 97, 97, 0.1);
}

.form-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #2a2a2a;
}
