/* General Styles */
.prof-container {
    width: 90%;
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.prof-heading {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
    color: #333;
}

.prof-tabs {
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
}

.prof-tabs label {
    flex: 1;
    text-align: center;
    padding: 15px 0;
    cursor: pointer;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    border-bottom: none;
    transition: background-color 0.3s ease;
}

.prof-tabs label:not(:last-of-type) {
    border-right: none;
}

.prof-tabs label:hover {
    background-color: #e2e2e2;
}

.prof-tabs label.active {
    background-color: #fff;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

.prof-tab-content {
    border: 1px solid #ccc;
    padding: 20px;
    background-color: #fff;
}

.prof-info-section {
    display: none;
}

.prof-info-section.active {
    display: block;
}

.prof-info-block {
    margin-bottom: 30px;
}

.prof-subheading {
    margin-bottom: 15px;
    font-size: 1.5em;
    color: #444;
}

.prof-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    border: 1px solid #ddd;
}

.prof-table th, .prof-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ebebeb;
    color: #555;
    font-size: 1em;
    line-height: 1.5;
}

.prof-table th {
    background-color: #f4f4f4b1;
    font-weight: bold;
    color: #333;
}

.prof-table tr:hover {
    background-color: #f9f9f9;
}

.prof-button-container {
    text-align: right;
    margin-top: 20px;
}

.prof-button {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px 7px;
    text-decoration: none;
    background-color: #2f7ba9;
    color: #e2e2e2;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.prof-button:hover {
    background-color: #0069aa;
    color: #fff;
}

.subs-btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px 7px;
    text-decoration: none;
    background-color: #28a745; 
    color: #fff;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.subs-btn:hover {
    background-color: #218838;
}

#subs-manage-btn {
    background-color: #ffc107; 
    color: #212529;
}

#subs-manage-btn:hover {
    background-color: #e0a800;
}

#subs-pricing-btn {
    background-color: #17a2b8; 
}

#subs-pricing-btn:hover {
    background-color: #138496;
}

.error-list {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f8d7da;
    color: #721c24;
    border-radius: 5px;
}

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

.prof-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.prof-form-group input,
.prof-form-group select,
.prof-form-group textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.prof-form-group input:focus,
.prof-form-group select:focus,
.prof-form-group textarea:focus {
    border-color: #007BFF;
    outline: none;
}

@media screen and (max-width: 768px) {
    .prof-tabs {
        flex-direction: column;
    }

    .prof-tabs label {
        border-right: none;
        border-bottom: 1px solid #ccc;
    }

    .prof-tabs label:last-of-type {
        border-bottom: none;
    }

    .prof-button-container {
        text-align: center;
    }

    .prof-button {
        width: 100%;
        box-sizing: border-box;
    }

    .prof-table th, .prof-table td {
        padding: 10px;
        font-size: 0.9em;
    }
}

@media screen and (max-width: 480px) {
    .prof-container {
        width: 100%;
        padding: 10px;
        margin: auto 5px;
    }
    .prof-heading {
        font-size: 1.5em;
    }

    .prof-subheading {
        font-size: 1.2em;
    }

    .prof-table th, .prof-table td {
        padding: 8px;
        font-size: 0.85em;
    }
}
