/* global */

* {
    box-sizing: border-box;
    font-family: 'Times New Roman', serif;
}
body {
    margin: 0;
    position: relative;
    min-height: 100vh;
}
/* head  */
.header {
    background-color: #1b325f;
    color: #e9f2e9;
    padding: 20px 0; 
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px; 
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.main-name {
    font-size: 24px;
    font-weight: bold;
    margin-right: 40px;
}
.head-link {
    display: flex;
    list-style: none;
}
.head-link li {
    margin-left: 20px;
}
.head-link a {
    color: #e9f2f9;
    text-decoration: none;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 3px;
    transition: background-color 0.3s;
}
.head-link a:hover {
    background-color: #9cc4e4;
    color: #1b325f;
}
/* main-features */
.main-features {
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: #6a6aec;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.feature-item {
    margin: 0px;
    position: relative;
}

.feature-item a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.feature-item a:hover {
    background-color: #e9ecef;
}

.feature-description {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: none;
    z-index: 101;
}

.feature-item:hover .feature-description {
    display: block;
}

/* sidebar */
.sidebar {
    position: fixed;
    top: 120px;
    left: 0;
    width: 200px;
    height: calc(100% - 100px);
    background-color: #343a40;
    padding-top: 20px;
    z-index: 99;
}

.sidebar-button {
    display: block;
    width: 80%;
    margin: 10px auto;
    padding: 10px;
    background-color: #495057;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s;
}

.sidebar-button:hover {
    background-color: #6c757d;
}

/* content area */

.content-area {
    margin-top: 130px;
    margin-left: 200px;
    padding: 20px;
    max-width: calc(100% - 200px);
    margin-right: 0;
    margin-bottom: 80px;
}



/* button */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

button {
    background-color: #3a89c9;
    color: #e9f2f9;
    border: none;
    border-radius: 5px;
    padding: 10px 0;
    width: 90%;
    cursor: pointer;
    transition: background-color 0.3s;
}
button:hover {
    background-color: #f26c4f;
    color: #fff;
}

.btn.primary {
    background-color: #007bff;
    color: white;
}

.btn.primary:hover {
    background-color: #0069d9;
}

.btn.secondary {
    background-color: #6c757d;
    color: white;
}

.btn.secondary:hover {
    background-color: #5a6268;
}

/* card */
.feature-card {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* form */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

/* table */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table th,
table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

table th {
    background-color: #f8f9fa;
    font-weight: bold;
}


/* tabs*/
.billing-tabs {
    display: flex;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 20px;
    background-color: #f8f9fa;
    border: none;
    cursor: pointer;
}

.tab-btn.active {
    background-color: #007bff;
    color: white;
}

/* footer */
.footer {
    background-color: #1b325f;
    color: #e9f2f9;
    padding: 20px 0;
    font-size: 14px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}
.foot-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.foot-link {
    display: flex;
    list-style: none;
}
.foot-link li {
    margin-right: 20px;
}
.foot-link a {
    color: #e9f2f9;
    text-decoration: none;
}
.foot-link a:hover {
    text-decoration: underline;
    color: #f26c4f;
}
.foot-text {
    margin-top: 10px;
    font-size: 12px;
    color: #e9f2f9;
    width: 100%;
    text-align: center;
}

