
/* In ovt_theme.css */

body {
    font-family: "Courier New", monospace; /* Change this line */
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}

        body { font-family: Arial, sans-serif; background-color: #f4f4f9; color: #333; line-height: 1.6; }
        .container { max-width: 700px; margin: 2em auto; padding: 2em; background: #fff; border-radius: 8px; box-shadow: 0 0 15px rgba(0,0,0,0.1); }
        .logo { display: block; margin: 0 auto 20px auto; max-width: 200px; }
        h1, h2 { text-align: center; color: #0056b3; }
        .form-group { margin-bottom: 1.2em; }
        label { display: block; margin-bottom: 5px; font-weight: bold; }
        input[type="text"], input[type="email"], input[type="password"] { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; }
        .password-wrapper { position: relative; }
        .toggle-password { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); cursor: pointer; }
        .sub-text { font-size: 0.9em; color: #666; }
        .terms-box { height: 150px; width: 100%; border: 1px solid #ccc; overflow-y: scroll; padding: 10px; background: #f9f9f9; font-size: 0.8em; }
        .checkbox-group { display: flex; align-items: center; }
        .checkbox-group input { margin-right: 10px; }
        .btn-submit { display: block; width: 100%; padding: 12px; background-color: #007bff; color: white; border: none; border-radius: 4px; font-size: 1.2em; cursor: pointer; transition: background-color 0.3s; }
        .btn-submit:hover { background-color: #0056b3; }
        .error-list { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; padding: 10px 15px; margin-bottom: 20px; border-radius: 4px; }
        .success-message { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; padding: 20px; text-align: center; border-radius: 4px; }
      
        .footer-text { text-align: center; margin-top: 20px; font-size: 0.9em; color: #555; }

         :root {
            --bg-color: #F8F9FA; --panel-bg: #FFFFFF; --text-color: #131722;
            --text-secondary: #787B86; --border-color: #E0E3EB; --accent-color: #2962ff;
            --error-color: #dc3545; --info-color: #0dcaf0;
        }

        .login-container {
            background-color: var(--panel-bg); padding: 2.5em; border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1); width: 100%; max-width: 400px; text-align: center;
        }
        .logo-container img { max-width: 150px; margin-bottom: 1em; }
        .login-container h1 { margin-top: 0; margin-bottom: 1.5em; color: var(--text-color); }
        .form-group { margin-bottom: 1.5em; text-align: left; }
        .form-group label { display: block; margin-bottom: 0.5em; font-weight: 500; color: var(--text-secondary); }
        .form-group input {
            width: 100%; padding: 12px; border: 1px solid var(--border-color);
            border-radius: 6px; font-size: 16px; box-sizing: border-box;
        }
        .login-button {
            background-color: var(--accent-color); color: white; border: none; padding: 14px;
            border-radius: 6px; width: 100%; font-size: 16px; font-weight: 600;
            cursor: pointer; margin-top: 1em; text-decoration: none; display: inline-block;
        }
        .login-button:hover { background-color: #0b5ed7; }
        .links { margin-top: 1.5em; }
        .links a { color: var(--accent-color); text-decoration: none; font-size: 14px; }
        .message-box {
            padding: 1em; border-radius: 6px; margin-bottom: 1.5em; text-align: center;
        }
        .error-message { background-color: #F8D7DA; color: #842029; }
        /* New style for subscription messages */
        .info-message { background-color: #CFF4FC; color: #055160; }


          /* CSS styles for the page layout and appearance */
        :root {
            --bg-color: #FFFFFF; --panel-bg: #F8F9FA; --text-color: #131722;
            --text-secondary: #787B86; --border-color: #E0E3EB; --accent-color: #2962ff;
            --success-color: #26a69a; --error-color: #ef5350;
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            background-color: var(--bg-color); color: var(--text-color); margin: 0;
            padding: 1em; display: flex; flex-direction: column; height: 100vh; box-sizing: border-box;
        }
        .main-container { display: flex; flex-grow: 1; gap: 1em; height: calc(100% - 60px); }
        .left-column { flex-grow: 1; display: flex; flex-direction: column; gap: 1em; height: 100%; }
        .chart-container { min-height: 100px; transition: flex-basis 0.3s ease-in-out; }
        .ovt-chart-container { border: 1px solid var(--border-color); border-radius: 8px; min-height: 100px; transition: flex-basis 0.3s ease-in-out; }
        .data-panel { width: 320px; flex-shrink: 0; background-color: var(--panel-bg); border: 1px solid var(--border-color); border-radius: 8px; padding: 1.5em; display: flex; flex-direction: column; overflow-y: auto; height: 100%; box-sizing: border-box; }
        
        /* CSS classes to control the view layouts */
        .view-default .chart-container { flex-basis: auto; flex-grow: 1; }
        .view-default .ovt-chart-container { flex-basis: 250px; flex-grow: 0; }
        .view-50 .chart-container, .view-50 .ovt-chart-container { flex-basis: 50%; flex-grow: 1; }

        header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1em; border-bottom: 1px solid var(--border-color); margin-bottom: 1em; }
        .header-left, .header-right { display: flex; align-items: center; }
        .header-left .nav-button { margin-right: 10px; }
        /* MODIFIED: Styling for right-aligned buttons */
        .header-right .nav-button { margin-right: 10px; }
        .header-right h1 { margin: 0; color: var(--text-color); }
        .header-right a { margin-left: 20px; color: var(--accent-color); text-decoration: none; font-weight: 500; }
        
        .nav-button {
            background-color: var(--accent-color); color: white; border: none;
            padding: 8px 16px; border-radius: 6px; cursor: pointer; font-size: 14px;
            text-decoration: none;
        }
        .nav-button:hover { background-color: #0b5ed7; }

        .copy-button { background-color: var(--accent-color); color: white; padding: 10px 20px; border: none; border-radius: 4px; cursor: pointer; font-size: 16px; width: 100%; margin-top: 1em; }
        .data-panel h2, .data-panel h3 { margin-top: 0; border-bottom: 1px solid var(--border-color); padding-bottom: 0.5em; color: var(--text-color); }
        .live-value-card { background-color: var(--bg-color); border: 1px solid var(--border-color); border-radius: 8px; padding: 1em; text-align: center; margin-bottom: 1.5em; }
        .live-value-card .label { font-size: 0.9em; color: var(--text-secondary); }
        .live-value-card .value { font-size: 2.5em; font-weight: 600; color: var(--accent-color); margin: 0.2em 0; }
        .live-value-card .timestamp { font-size: 0.8em; color: var(--text-secondary); }
        .status-indicator { padding: 0.8em; border-radius: 6px; text-align: center; font-weight: 500; margin-bottom: 1.5em; }
        .status-ok { background-color: #D1E7DD; color: #0F5132; }
        .status-error { background-color: #F8D7DA; color: #842029; }
        .history-table { width: 100%; border-collapse: collapse; font-size: 0.9em; }
        .history-table th, .history-table td { padding: 0.6em; text-align: left; border-bottom: 1px solid var(--border-color); }
        .history-table th { color: var(--text-secondary); font-weight: 500; }


            :root {
            --bg-color: #F8F9FA; --panel-bg: #FFFFFF; --text-color: #131722;
            --text-secondary: #787B86; --border-color: #E0E3EB; --accent-color: #2962ff;
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            background-color: var(--bg-color); display: flex; flex-direction: column;
            height: 100vh; margin: 0; color: var(--text-color);
        }
        header {
            display: flex; justify-content: space-between; align-items: center;
            padding: 1em; background-color: var(--panel-bg);
            border-bottom: 1px solid var(--border-color); width: 100%; box-sizing: border-box;
        }
        header h1 { margin: 0; font-size: 1.5em; }
        header a { color: var(--accent-color); text-decoration: none; font-weight: 500; margin-left: 1.5em; }
        .main-content {
            display: flex; justify-content: center; align-items: center;
            flex-grow: 1;
        }
        .dashboard-container {
            background-color: var(--panel-bg); padding: 3em; border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1); width: 100%; max-width: 600px; text-align: center;
        }
        /* ADDED: Styles for the logo container */
        .logo-container {
            margin-bottom: 1.5em;
        }
        .logo-container img {
            max-width: 180px; /* Adjust size as needed */
            height: auto;
        }
        .dashboard-container h2 { margin-top: 0; font-size: 2.5em; }
        .dashboard-container p { font-size: 1.2em; color: var(--text-secondary); margin-bottom: 0.5em; }
        .expiry-date {
            font-size: 1em;
            color: var(--text-secondary);
            margin-bottom: 2em;
        }
     
        .button-container { display: flex; flex-direction: column; gap: 1em; justify-content: center; }
        .nav-button {
            background-color: var(--accent-color); color: white; border: none;
            padding: 12px 24px; border-radius: 6px; font-size: 16px;
            font-weight: 500; cursor: pointer; text-decoration: none; transition: background-color 0.2s;
        }
        .nav-button:hover { background-color: #0b5ed7; }
        .nav-button.secondary { background-color: #6c757d; }
        .nav-button.secondary:hover { background-color: #5a6268; }
