/* File: osbot-credential-manager.css */

/* Main Container */
.osb-container {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #333;
}

/* Headings */
.osb-container h1,
.osb-container h2,
.osb-container h3 {
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}
.osb-container h1 {
    font-size: 36px;
}
.osb-container h2 {
    font-size: 28px;
}
.osb-container h3 {
    font-size: 22px;
}

/* Tabs */
.osb-tabs {
    margin-bottom: 20px;
    text-align: center;
}
.osb-tabs a {
    display: inline-block;
    margin: 0 10px;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    background: #f2f2f2;
    border-radius: 20px;
    transition: all 0.2s ease;
}
.osb-tabs a:hover {
    background: #e0e0e0;
}
.osb-tabs a.active {
    background: #4E86FF;
    color: #fff;
}

/* Form Elements */
.osb-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.osb-container input[type="text"],
.osb-container input[type="password"],
.osb-container input[type="date"],
.osb-container select,
.osb-container input[type="file"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}
.osb-container input[type="text"]:focus,
.osb-container input[type="password"]:focus,
.osb-container input[type="date"]:focus,
.osb-container select:focus,
.osb-container input[type="file"]:focus {
    border-color: #4E86FF;
}

/* Buttons */
.osb-container input[type="submit"],
.osb-container button,
.osb-add-btn,
.osb-toggle-cred {
    background: #4E86FF;
    border: none;
    border-radius: 6px;
    color: #fff;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease;
}
.osb-container input[type="submit"]:hover,
.osb-container button:hover,
.osb-add-btn:hover,
.osb-toggle-cred:hover {
    background: #3b70cc;
}

/* Tables */
.osb-container table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}
.osb-container table thead {
    background: #4E86FF;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.osb-container table th,
.osb-container table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #eee;
}
.osb-container table tbody tr:last-child td {
    border-bottom: none;
}
.osb-container table tr:hover td {
    background: #f9f9f9;
}

/* Messages */
.osb-message {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-size: 14px;
}
.osb-message.success {
    background: #e7f9ed;
    border: 1px solid #bde2c9;
    color: #2e6e3c;
}
.osb-message.error {
    background: #f9e7e7;
    border: 1px solid #e2bdbd;
    color: #6e2e2e;
}

/* Toggle Button for Credential Masking */
.osb-toggle-cred {
    margin-left: 8px;
    font-size: 13px;
    padding: 6px 10px;
}
